Skip to content

Commit d04ed41

Browse files
committed
Merge tag 'ntb-6.19-bugfixes' of https://github.com/jonmason/ntb
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
2 parents b83a8ff + 2ccb5e8 commit d04ed41

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/ntb/ntb_transport.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,6 +1394,7 @@ static int ntb_transport_probe(struct ntb_client *self, struct ntb_dev *ndev)
13941394
goto err2;
13951395
}
13961396

1397+
mutex_init(&nt->link_event_lock);
13971398
INIT_DELAYED_WORK(&nt->link_work, ntb_transport_link_work);
13981399
INIT_WORK(&nt->link_cleanup, ntb_transport_link_cleanup_work);
13991400

0 commit comments

Comments
 (0)