diff options
author | Janani Ravichandran <janani.rvchndrn@gmail.com> | 2016-02-11 01:43:47 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-11 19:37:15 -0800 |
commit | 5fe36bf068e4bd09bc11aabb6a4f30ea831913ef (patch) | |
tree | b416d705a2c809d61370b7b14bfad45c6a05114f /drivers/staging/unisys/visorhba | |
parent | staging: unisys: Remove parentheses around right hand side of assignment (diff) | |
download | linux-dev-5fe36bf068e4bd09bc11aabb6a4f30ea831913ef.tar.xz linux-dev-5fe36bf068e4bd09bc11aabb6a4f30ea831913ef.zip |
staging: unisys: Modify boolean assignment
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>
Diffstat (limited to 'drivers/staging/unisys/visorhba')
-rw-r--r-- | drivers/staging/unisys/visorhba/visorhba_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/visorhba/visorhba_main.c b/drivers/staging/unisys/visorhba/visorhba_main.c index 5a78409d0293..e93bb1dbfd97 100644 --- a/drivers/staging/unisys/visorhba/visorhba_main.c +++ b/drivers/staging/unisys/visorhba/visorhba_main.c @@ -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"); |