+ cris-convert-ffs-from-an-object-like-macro-to-a-function-like-macro.patch added to -mm tree
Subject: + cris-convert-ffs-from-an-object-like-macro-to-a-function-like-macro.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 10 Mar 2014 13:31:13 -0700
The patch titled
Subject: cris: convert ffs from an object-like macro to a function-like macro
has been added to the -mm tree. Its filename is
cris-convert-ffs-from-an-object-like-macro-to-a-function-like-macro.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/cris-convert-ffs-from-an-object-like-macro-to-a-function-like-macro.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/cris-convert-ffs-from-an-object-like-macro-to-a-function-like-macro.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Geert Uytterhoeven <[email protected]>
Subject: cris: convert ffs from an object-like macro to a function-like macro
This avoids bad interactions with code using identifiers called "ffs":
drivers/usb/gadget/f_fs.c: In function 'ffsmod_init':drivers/usb/gadget/f_fs.c:2693:494: error: 'ffsusb_func' undeclared (first use in this function) drivers/usb/gadget/f_fs.c:2693:494: note: each undeclared identifier is reported only once for each function it appears in drivers/usb/gadget/f_fs.c: In function 'ffsmod_exit':drivers/usb/gadget/f_fs.c:2693:677: error: 'ffsusb_func' undeclared (first use in this function) drivers/usb/gadget/f_fs.c: At top level:drivers/usb/gadget/f_fs.c:2693:35: warning: 'kernel_ffsusb_func' defined but not used [-Wunused-variable] drivers/usb/gadget/f_fs.c: In function 'ffsmod_init':drivers/usb/gadget/f_fs.c:2693:15: warning: control reaches end of non-void function [-Wreturn-type]
See http://kisskb.ellerman.id.au/kisskb/buildresult/10715817/
---
arch/cris/include/asm/bitops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/cris/include/asm/bitops.h renamed from arch/cris/include/asm/bitops.h~cris-convert-ffs-from-an-object-like-macro-to-a-function-like-macro +1 -1
@@ -144,7 +144,7 @@ static inline int test_and_change_bit(in* definition, which doesn't have the same semantics. We don't want to * use -fno-builtin, so just hide the name ffs. */ -#define ffs kernel_ffs +#define ffs (x) kernel_ffs(x)#include <asm-generic/bitops/fls.h> #include <asm-generic/bitops/__fls.h>
_
Patches currently in -mm which might be from [email protected] are
cris-convert-ffs-from-an-object-like-macro-to-a-function-like-macro.patch arch-sh-boards-board-sh7757lcrc-fixup-sdhi-register-size.patch cris-cpuinfo_op-should-depend-on-config_proc_fs.patch linux-next.patch