diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-11-12 09:16:09 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-11-12 14:34:59 (GMT) |
commit | 6b90466cfec2a2fe027187d675d8d14217c12d82 (patch) | |
tree | 619c627530d02ee5164ed89355fd4e6b77fa2cdd /drivers/leds/ledtrig-default-on.c | |
parent | df0cfd6990347c20ae031f3f34137cba274f1972 (diff) | |
download | linux-fsl-qoriq-6b90466cfec2a2fe027187d675d8d14217c12d82.tar.xz |
HID: microsoft: do not use compound literal - fix build
In patch "HID: microsoft: fix invalid rdesc for 3k kbd" I fixed
support for MS 3k keyboards. However the added check using memcmp and
a compound statement breaks build on architectures where memcmp is a
macro with parameters.
hid-microsoft.c:51:18: error: macro "memcmp" passed 6 arguments, but takes just 3
On x86_64, memcmp is a function, so I did not see the error.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/leds/ledtrig-default-on.c')
0 files changed, 0 insertions, 0 deletions