Re: [PATCH 2.6.25.9] Make sure that include/asm-powerpc/spinlock.h does not trigger compilation warnings
From: Kumar Gala <hidden>
Date: 2008-06-28 15:07:35
From: Kumar Gala <hidden>
Date: 2008-06-28 15:07:35
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 <redacted>
what version of gcc and what config are you building for? - k