Thread (5 messages) read the whole thread 5 messages, 2 authors, 3d ago
WARM3d

[PATCH 0/2] qlogic: fix and tidy notifier cleanup paths

From: Can Peng <hidden>
Date: 2026-07-28 03:21:19
Also in: lkml

Hi,

This series fixes and tidies notifier cleanup in the qlogic Ethernet
drivers.

Patch 1 fixes netxen by unregistering the netdevice and inetaddr
notifiers if pci_register_driver() fails. Without this, module init can
return an error while leaving callbacks registered for a module that did
not load successfully.

Patch 2 keeps qlcnic's existing notifier cleanup error path under the
same CONFIG_INET guard as the notifier registration, avoiding an empty
if statement when CONFIG_INET is disabled.

Can Peng (2):
  netxen: unregister notifiers if PCI registration fails
  qlcnic: move notifier error cleanup under CONFIG_INET

 .../net/ethernet/qlogic/netxen/netxen_nic_main.c    | 13 ++++++++++++-
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c    |  4 ++--
 2 files changed, 14 insertions(+), 3 deletions(-)

-- 
2.53.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help