diff options
author | Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com> | 2017-08-30 20:36:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-31 19:17:38 +0300 |
commit | 3459e83a141e2af284c5980917dfa8a1bb224319 (patch) | |
tree | 227882c262ff10c3661a835c79aec66bd98d9f22 /drivers/scsi/sr_vendor.c | |
parent | 90544cb10caafa6c12315215486a62a8d487f6be (diff) | |
download | linux-3459e83a141e2af284c5980917dfa8a1bb224319.tar.xz |
staging: unisys: visorbus: visorbus_main.c: Fix return values for checks in visorbus_register_visor_driver.
The error return values for the drv->probe, drv->remove, drv->pause
and drv->resume checks should be -EINVAL instead of -ENODEV.
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/sr_vendor.c')
0 files changed, 0 insertions, 0 deletions