]> git.baikalelectronics.ru Git - kernel.git/commit
video: uvesafb: use true,false for bool variables
authorJason Yan <yanaijie@huawei.com>
Wed, 22 Apr 2020 07:18:45 +0000 (15:18 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 6 May 2020 17:32:08 +0000 (19:32 +0200)
commita1c12308cea6e084bccd6128d569c6e9b7a673da
tree2ae4fe441a3883b9bb77e7b3b149c67a5b7ef83e
parent7593e032f8962a6065021a26d8f0343b3061eab5
video: uvesafb: use true,false for bool variables

Fix the following coccicheck warning:

drivers/video/fbdev/uvesafb.c:48:12-17: WARNING: Assignment of 0/1 to
bool variable
drivers/video/fbdev/uvesafb.c:1827:3-13: WARNING: Assignment of 0/1 to
bool variable
drivers/video/fbdev/uvesafb.c:1829:3-13: WARNING: Assignment of 0/1 to
bool variable
drivers/video/fbdev/uvesafb.c:1835:3-9: WARNING: Assignment of 0/1 to
bool variable
drivers/video/fbdev/uvesafb.c:1837:3-9: WARNING: Assignment of 0/1 to
bool variable
drivers/video/fbdev/uvesafb.c:1839:3-8: WARNING: Assignment of 0/1 to
bool variable

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200422071845.403-1-yanaijie@huawei.com
drivers/video/fbdev/uvesafb.c