diff options
| author | Kamal Heib <kheib@redhat.com> | 2026-03-02 23:36:45 -0500 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-03-05 04:34:31 -0500 |
| commit | c242e92c9da456d361d1d4482fb6e93ee95bd8cf (patch) | |
| tree | 51b0d53ee67271ff6d1fbd01185eed3b82da713c /include/linux/tc_act/git@git.tavy.me:linux.git | |
| parent | a08aaf3968aec5d05cd32c801b8cc0c61da69c41 (diff) | |
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: 745065770c2d ("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>
Diffstat (limited to 'include/linux/tc_act/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
