staging: unisys: Modify boolean assignment
authorJanani Ravichandran <janani.rvchndrn@gmail.com>
Thu, 11 Feb 2016 06:43:47 +0000 (01:43 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:37:15 +0000 (19:37 -0800)
Boolean variables should be assigned true/false rather than 1/0.
This patch makes a correction on such a variable which has boolean
values assigned in all other places within the file.

Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorhba/visorhba_main.c

index 5a78409d02936f250e89efdb6f55c94283f084e5..e93bb1dbfd976d073e1e150841defacba8e347b2 100644 (file)
@@ -1062,7 +1062,7 @@ static int visorhba_resume(struct visor_device *dev,
                return -EINVAL;
 
        if (devdata->serverdown && !devdata->serverchangingstate)
-               devdata->serverchangingstate = 1;
+               devdata->serverchangingstate = true;
 
        visor_thread_start(&devdata->threadinfo, process_incoming_rsps,
                           devdata, "vhba_incming");