From: Witos <pwitos@gmail.com>
To: pwitos@gmail.com
Cc: Chris Brannon <chris@the-brannons.com>,
Kirk Reiser <kirk@reisers.ca>,
Samuel Thibault <samuel.thibault@ens-lyon.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
speakup@linux-speakup.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org, trivial@kernel.org
Subject: [PATCH] drivers: staging: speakup: fix sparse "warning: expression using sizeof bool"
Date: Fri, 27 Mar 2015 21:29:43 +0100 [thread overview]
Message-ID: <20150327202942.GA9858@witos-linux> (raw)
Changed bool to u8.
Signed-off-by: Piotr Witoslawski <pwitos@gmail.com>
---
drivers/staging/speakup/fakekey.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/speakup/fakekey.c b/drivers/staging/speakup/fakekey.c
index 4299cf4..3dfb6bd 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(u8, reporting_keystroke);
static struct input_dev *virt_keyboard;
--
2.0.5
next reply other threads:[~2015-03-27 20:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-27 20:29 Witos [this message]
2015-04-03 11:42 ` [PATCH] drivers: staging: speakup: fix sparse "warning: expression using sizeof bool" Greg Kroah-Hartman
-- strict thread matches above, loose matches on Subject: below --
2015-03-27 20:36 Witos
2015-03-28 6:26 ` Sudip Mukherjee
2015-03-28 7:57 ` Piotr Witosławski
2015-03-30 6:19 ` Sudip Mukherjee
2015-04-03 11:42 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150327202942.GA9858@witos-linux \
--to=pwitos@gmail.com \
--cc=chris@the-brannons.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=kirk@reisers.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=samuel.thibault@ens-lyon.org \
--cc=speakup@linux-speakup.org \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.