On Jun 28, 2008, at 1:51 AM, Bart Van Assche wrote:

When compiling kernel modules for ppc that include <linux/ spinlock.h>, gcc prints a warning message every time it encounters a function declaration where the inline keyword appears after the return type. The patch below makes sure that the order of the inline keyword and the return type is as gcc expects it. Additionally, the __inline__ keyword is replaced by inline, as checkpatch
expects.

Signed-off-by: Bart Van Assche <[EMAIL PROTECTED]>

what version of gcc and what config are you building for?

- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to