Re: [PATCH] let sparse warn on &inline_function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 21 May 2006 23:37:42 +0100, Derek M Jones wrote:
> 
> >>It makes perfect sense for me to want 'direct' calls to be
> >>inlined and be willing to accept that calls via pointers
> >>will not be inlined.
> >
> >Does this still make sense with CONFIG_CC_OPTIMIZE_FOR_SIZE set?
> 
> Using the inline specifier may or may not make sense in this case.

And this is exactly what warnings are all about.  If the code in
question may make sense, but there is a certain likelyhood that it
does not, print a warning.

Jörn

-- 
Victory in war is not repetitious.
-- Sun Tzu
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux