Linux SPARSE checker discussions
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Derek M Jones <derek@knosof.co.uk>
Cc: Michael Buesch <mb@bu3sch.de>, linux-sparse@vger.kernel.org
Subject: Re: [PATCH] let sparse warn on &inline_function
Date: Mon, 22 May 2006 10:36:51 +0200	[thread overview]
Message-ID: <20060522083650.GA19072@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <4470EBB6.6030404@knosof.co.uk>

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

  reply	other threads:[~2006-05-22  8:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-20 14:21 [PATCH] let sparse warn on &inline_function Michael Buesch
2006-05-20 15:10 ` Derek M Jones
2006-05-20 15:34   ` Michael Buesch
2006-05-20 15:53     ` Derek M Jones
2006-05-21 19:37       ` Jörn Engel
2006-05-21 22:37         ` Derek M Jones
2006-05-22  8:36           ` Jörn Engel [this message]
2006-05-22 10:06             ` Derek M Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060522083650.GA19072@wohnheim.fh-wedel.de \
    --to=joern@wohnheim.fh-wedel.de \
    --cc=derek@knosof.co.uk \
    --cc=linux-sparse@vger.kernel.org \
    --cc=mb@bu3sch.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox