staging: unisys: Modify boolean assignment
PATCH v2 1/1 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 <[email protected]>
---
Changes since v1:
* Modified commit description to include that there was only one instance where the variable was set to 1 instead of true.
drivers/staging/unisys/visorhba/visorhba_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/unisys/visorhba/visorhba_main.c +1 -1
@@ -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" );
Signature · 1 line
2.5.0