From: Gustavo A. R. Silva Date: Wed, 28 Mar 2018 14:34:27 +0000 (+0200) Subject: video: fbdev: aty128fb: use true and false for boolean values X-Git-Tag: v4.17-rc1~63^2~18 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cfb810f85992071ef715188163afb34c1701dc85;p=linux.git video: fbdev: aty128fb: use true and false for boolean values Assign true or false to boolean variables instead of an integer value. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva Cc: Paul Mackerras Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/video/fbdev/aty/aty128fb.c b/drivers/video/fbdev/aty/aty128fb.c index db18474607c9..09b0e558dce8 100644 --- a/drivers/video/fbdev/aty/aty128fb.c +++ b/drivers/video/fbdev/aty/aty128fb.c @@ -1716,7 +1716,7 @@ static int aty128fb_setup(char *options) continue; } if(!strncmp(this_opt, "nomtrr", 6)) { - mtrr = 0; + mtrr = false; continue; } #ifdef CONFIG_PPC_PMAC