Skip to content

Commit

Permalink
STAGING/SPEAKUP: Fix "expression using sizeof bool" warnings
Browse files Browse the repository at this point in the history
Fix "warning: expression using sizeof bool" messages caught by sparse.
Resending directly to SPEAKUP maintainers.

Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Jeff Becker authored and Greg Kroah-Hartman committed Jan 29, 2016
1 parent d86b4a7 commit 911b04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/speakup/fakekey.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 911b04d

Please sign in to comment.