From: Jiri Slaby Date: Mon, 12 Nov 2012 09:16:09 +0000 (+0100) Subject: HID: microsoft: do not use compound literal - fix build X-Git-Tag: v3.7-rc6~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b90466cfec2a2fe027187d675d8d14217c12d82;p=pandora-kernel.git 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 Reported-by: Geert Uytterhoeven Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed