Re: [PATCH][2.6.8-rc1-mm1] drivers/scsi/sg.c gcc341 inlining fix

Jeff Garzik
2004-07-14T16:47:58Z

Adrian Bunk wrote:
> On Wed, Jul 14, 2004 at 11:52:46AM -0400, Jeff Garzik wrote:
>
>>...
>>If gcc is insisting that prototypes for inlines no longer work, we have
>>a lot of code churn on our hands ;-( Grumble.
>
>
> I've counted at about 30 files with such problems in a full i386
> 2.6.7-mm7 compile.
>
> I've already sent patches for some of them (e.g. the dmascc.c one), and
> they are usually pretty straightforward.

This is not a problem with the kernel.

All these files have been functioning just fine for years, with properly
prototyped static inline functions.

Though there is a the claim that '#define inline always_inline' is
leading to all this breakage.

Jeff