[PATCH] fix oops caused when writing to the rescan attribute
If an upper layer driver is not loaded, and you write to a device's rescan attribute you will get an oops. The attached patch fixes this by testing if the device's driver variable is set before accessing it.
Showing
Please register or sign in to comment