staging: unisys: visorchipset change -1 return value
authorErik Arfvidson <erik.arfvidson@unisys.com>
Sat, 14 May 2016 03:17:20 +0000 (23:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 05:58:16 +0000 (22:58 -0700)
This patch changes the vague -1 return value to -EINVAL

Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c

index 5ba5936e2203de44e8d733669985561e96ed6e83..d248c946a13b169dc877e7f53b5c5393779d479e 100644 (file)
@@ -1613,7 +1613,7 @@ parahotplug_request_complete(int id, u16 active)
        }
 
        spin_unlock(&parahotplug_request_list_lock);
-       return -1;
+       return -EINVAL;
 }
 
 /*
This page took 0.025577 seconds and 5 git commands to generate.