Loading
RDMA/bng_re: Fix silent failure in HWRM version query
If the firmware version query fails, the driver currently ignores the error and continues initializing. This leaves the device in a bad state. Fix this by making bng_re_query_hwrm_version() return the error code and update the driver to check for this error and stop the setup process safely if it happens. Fixes: 74506577 ("RDMA/bng_re: Register and get the resources from bnge driver") Signed-off-by:Kamal Heib <kheib@redhat.com> Link: https://patch.msgid.link/20260303043645.425724-1-kheib@redhat.com Reviewed-by:
Siva Reddy Kallam <siva.kallam@broadcom.com> Signed-off-by:
Leon Romanovsky <leon@kernel.org>