diff options
| author | Lu Baolu <[email protected]> | 2021-12-31 03:39:01 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-01-06 14:47:41 +0000 |
| commit | 00eb74ea2c14418042347eaa34c6b73ac6ec1e76 (patch) | |
| tree | 9cf81a6b6cdf7f123e7db126ef1a2e446b8b65aa /Documentation/filesystems/caching/netfs-api.rst | |
| parent | driver core: Move driver_sysfs_remove() after driver_sysfs_add() (diff) | |
| download | kernel-00eb74ea2c14418042347eaa34c6b73ac6ec1e76.tar.gz kernel-00eb74ea2c14418042347eaa34c6b73ac6ec1e76.zip | |
driver core: Make bus notifiers in right order in really_probe()
If a driver cannot be bound to a device, the correct bus notifier order
should be:
- BUS_NOTIFY_BIND_DRIVER: driver is about to be bound
- BUS_NOTIFY_DRIVER_NOT_BOUND: driver failed to be bound
or no notifier if the failure happens before the actual binding.
The really_probe() notifies a BUS_NOTIFY_DRIVER_NOT_BOUND event without
a BUS_NOTIFY_BIND_DRIVER if .dma_configure() returns failure. This
change makes the notifiers in order.
Signed-off-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions
