projects/linux·commit d04ed417

Merge tag 'ntb-6.19-bugfixes' of https://github.com/jonmason/ntb

d04ed417 · Linus Torvalds <[email protected]> · 2026-01-24 18:43:52 -08:00

Pull NTB fix from Jon Mason:
 "Bug fix for uninitialized mutex in ntb transport"

* tag 'ntb-6.19-bugfixes' of https://github.com/jonmason/ntb:
  ntb: transport: Fix uninitialized mutex
Commit
d04ed417d20a79c111a7d8fef005ae9fe1e73b38
Parents
b83a8ff8 · 2ccb5e8d

Merge commit. Changes below are compared with the first parent: b83a8ff8.

Changes

1 files changed · +1 −0

FileStatusAddDelContent
drivers/ntb/ntb_transport.cmodified+1−0View file

drivers/ntb/ntb_transport.c

View file
diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c
index eb875e3..71d4bb2 100644
--- a/drivers/ntb/ntb_transport.c
+++ b/drivers/ntb/ntb_transport.c
@@ -1394,6 +1394,7 @@ static int ntb_transport_probe(struct ntb_client *self, struct ntb_dev *ndev)
goto err2;
}
+ mutex_init(&nt->link_event_lock);
INIT_DELAYED_WORK(&nt->link_work, ntb_transport_link_work);
INIT_WORK(&nt->link_cleanup, ntb_transport_link_cleanup_work);