From: Daniel Phillips <phillips@bonn-fries.net>
To: Keith Owens <kaos@ocs.com.au>, linux-kernel@vger.kernel.org
Cc: torvalds@transmeta.org
Subject: Re: [patch] 2.5.9 remove warnings
Date: Tue, 23 Apr 2002 11:37:03 +0200 [thread overview]
Message-ID: <E16zwjP-0002Mw-00@starship> (raw)
In-Reply-To: <10704.1019533171@kao2.melbourne.sgi.com>
On Tuesday 23 April 2002 05:39, Keith Owens wrote:
> exit.c:40: warning: passing arg 1 of `__builtin_expect' makes integer from pointer without a cast
> - if (unlikely(proc_dentry)) {
> + if (unlikely(proc_dentry != NULL)) {
Have you checked to see if this produces the same code? To be on the safe
side:
+ if (unlikely((ulong) proc_dentry)) {
--
Daniel
next prev parent reply other threads:[~2002-04-24 9:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-23 3:39 Keith Owens
2002-04-23 9:37 ` Daniel Phillips [this message]
2002-04-23 18:32 ` Andrew Morton
2002-04-23 21:08 ` Kasper Dupont
2002-04-24 18:56 ` Ingo Oeser
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=E16zwjP-0002Mw-00@starship \
--to=phillips@bonn-fries.net \
--cc=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.org \
/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
all inboxes | Powered by JetHome®