]> www.infradead.org Git - linux.git/commitdiff
video: fbdev: aty128fb: use true and false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 28 Mar 2018 14:34:27 +0000 (16:34 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 28 Mar 2018 14:34:27 +0000 (16:34 +0200)
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 <gustavo@embeddedor.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/aty/aty128fb.c

index db18474607c9c9c701353b8c347baf3e39c5ba63..09b0e558dce81d7eea45f4f38fd148e70341837f 100644 (file)
@@ -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