aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/staging/unisys/visorhba/visorhba_main.c
diff options
context:
space:
mode:
authorDavid Binder <david.binder@unisys.com>2016-09-26 11:03:48 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-27 13:06:16 +0200
commitf621a96850c262b7de42bd06eae4edd5bfd099d8 (patch)
treed9dd16e891c223251f631f80761352f18e570d4f /drivers/staging/unisys/visorhba/visorhba_main.c
parentstaging: unisys: visorbus: Change support functions to integer return vals (diff)
downloadwireguard-linux-f621a96850c262b7de42bd06eae4edd5bfd099d8.tar.xz
wireguard-linux-f621a96850c262b7de42bd06eae4edd5bfd099d8.zip
staging: unisys: visorbus: Convert visorchannel_signalremove() return val
Per Documentation/CodingStyle, function names that convey an action or an imperative command should return an integer. This commit converts the visorbus API function, visorchannel_signalremove(), to returning integer values. All uses of this function are updated accordingly. Signed-off-by: David Binder <david.binder@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visorhba/visorhba_main.c')
-rw-r--r--drivers/staging/unisys/visorhba/visorhba_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/unisys/visorhba/visorhba_main.c b/drivers/staging/unisys/visorhba/visorhba_main.c
index 887be22a6a60..e968f33380dc 100644
--- a/drivers/staging/unisys/visorhba/visorhba_main.c
+++ b/drivers/staging/unisys/visorhba/visorhba_main.c
@@ -927,9 +927,9 @@ drain_queue(struct uiscmdrsp *cmdrsp, struct visorhba_devdata *devdata)
struct scsi_cmnd *scsicmd;
while (1) {
- if (!visorchannel_signalremove(devdata->dev->visorchannel,
- IOCHAN_FROM_IOPART,
- cmdrsp))
+ if (visorchannel_signalremove(devdata->dev->visorchannel,
+ IOCHAN_FROM_IOPART,
+ cmdrsp))
break; /* queue empty */
if (cmdrsp->cmdtype == CMD_SCSI_TYPE) {