aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorSameer Wadgaonkar <[email protected]>2017-08-30 13:36:10 -0400
committerGreg Kroah-Hartman <[email protected]>2017-08-31 18:17:38 +0200
commit3459e83a141e2af284c5980917dfa8a1bb224319 (patch)
tree227882c262ff10c3661a835c79aec66bd98d9f22 /lib/netdev-notifier-error-inject.c
parent90544cb10caafa6c12315215486a62a8d487f6be (diff)
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 <[email protected]> Signed-off-by: Sameer Wadgaonkar <[email protected]> Signed-off-by: David Kershner <[email protected]> Reviewed-by: Tim Sell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions