The patch titled kfifo-add-define_kfifo-and-friends-add-very-tiny-functions fix has been added to the -mm tree. Its filename is kfifo-add-define_kfifo-and-friends-add-very-tiny-functions-fix.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 *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: kfifo-add-define_kfifo-and-friends-add-very-tiny-functions fix From: Stefani Seibold <stefani@xxxxxxxxxxx> The following patch undef temporary used defines after the last usage. The patch-set is against kfifo API v.07, which is currently included in the -mm tree Signed-off-by: Stefani Seibold <stefani@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/kfifo.h | 3 +++ 1 file changed, 3 insertions(+) diff -puN include/linux/kfifo.h~kfifo-add-define_kfifo-and-friends-add-very-tiny-functions-fix include/linux/kfifo.h --- a/include/linux/kfifo.h~kfifo-add-define_kfifo-and-friends-add-very-tiny-functions-fix +++ a/include/linux/kfifo.h @@ -55,6 +55,7 @@ struct kfifo { * Macros for declaration and initialization of the kfifo datatype */ +/* helper macro */ #define __kfifo_initializer(s, b) \ (struct kfifo) { \ .size = s, \ @@ -102,6 +103,8 @@ union { \ unsigned char name##kfifo_buffer[size]; \ struct kfifo name = __kfifo_initializer(size, name##kfifo_buffer) +#undef __kfifo_initializer + extern void kfifo_init(struct kfifo *fifo, unsigned char *buffer, unsigned int size); extern __must_check int kfifo_alloc(struct kfifo *fifo, unsigned int size, _ Patches currently in -mm which might be from stefani@xxxxxxxxxxx are drivers-media-video-cx23885-needs-kfifo-conversion.patch drivers-media-video-cx23885-needs-kfifo-updates.patch kfifo-move-struct-kfifo-in-place.patch kfifo-move-out-spinlock.patch kfifo-cleanup-namespace.patch kfifo-rename-kfifo_put-into-kfifo_in-and-kfifo_get-into-kfifo_out.patch kfifo-add-define_kfifo-and-friends-add-very-tiny-functions.patch kfifo-add-define_kfifo-and-friends-add-very-tiny-functions-fix.patch kfifo-add-kfifo_skip-kfifo_from_user-and-kfifo_to_user.patch kfifo-add-record-handling-functions.patch kfifo-add-record-handling-functions-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html