From: Jeff Becker Date: Fri, 18 Dec 2015 20:42:51 +0000 (-0800) Subject: STAGING/SPEAKUP: Fix "expression using sizeof bool" warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=911b04d61d28667f2841319939121678198bf1db;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git STAGING/SPEAKUP: Fix "expression using sizeof bool" warnings Fix "warning: expression using sizeof bool" messages caught by sparse. Resending directly to SPEAKUP maintainers. Signed-off-by: Jeff Becker Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/speakup/fakekey.c b/drivers/staging/speakup/fakekey.c index 5e1f16c36b49..092dbe2c636a 100644 --- a/drivers/staging/speakup/fakekey.c +++ b/drivers/staging/speakup/fakekey.c @@ -28,7 +28,7 @@ #define PRESSED 1 #define RELEASED 0 -static DEFINE_PER_CPU(bool, reporting_keystroke); +static DEFINE_PER_CPU(int, reporting_keystroke); static struct input_dev *virt_keyboard;