diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-11-12 10:16:09 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-04-10 03:20:16 +0100 |
commit | 1e8b82e5787b57c83674e6ac87da4060dded3184 (patch) | |
tree | de35e37cdb22f9dfe80ca9e7c9c2cac9e678a9bf /drivers/net/wireless/rtlwifi/rtl8192cu | |
parent | c5b444a3da735cc82ea736ddcf816cfedee7f941 (diff) |
HID: microsoft: do not use compound literal - fix build
commit 6b90466cfec2a2fe027187d675d8d14217c12d82 upstream.
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192cu')
0 files changed, 0 insertions, 0 deletions