pci driver loads right after unload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all,
I encountered a strange phenomena using 2 different pci drivers (nvme and mlx5_core) since 4.15-rc1: when I try to unload the modules using "modprobe -r" cmd it calls the .probe function right after calling the .remove function and the module is not realy unloaded. I think there is some race condition because when I added a msleep(1000) after "pci_unregister_driver(&nvme_driver);" (in the nvme module testing, it also worked in the mlx5_core), the issue seems to dissapear.

any thoughts or idea what is causing this behaviour ?

-Max.



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux