فهرست منبع

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>
Janani Ravichandran 9 سال پیش
والد
کامیت
5fe36bf068
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      drivers/staging/unisys/visorhba/visorhba_main.c

+ 1 - 1
drivers/staging/unisys/visorhba/visorhba_main.c

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