From: Xi Wang <xi.wang@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Dan Carpenter <dan.carpenter@oracle.com>,
linux-sparse@vger.kernel.org, Christopher Li <sparse@chrisli.org>,
Pekka Enberg <penberg@kernel.org>
Subject: Re: [RFC][PATCH] fix casting constant to _Bool
Date: Sun, 17 Jun 2012 14:44:09 -0400 [thread overview]
Message-ID: <CAC8CFBE-2ED0-430F-98AD-65DB45CFCD25@gmail.com> (raw)
In-Reply-To: <CA+55aFxAJ7QSJNn9WeQBNjkRH7_NK=p=esXqZ=05Ndd_dxzYnQ@mail.gmail.com>
On Jun 16, 2012, at 1:20 PM, Linus Torvalds wrote:
> Maybe something like "Odd constant _Bool cast (%lld -> 1)"? It will
> always result in 1, since the only value that results in 0 is 0 (and
> isn't odd).
Sounds good. I will send a v2.
- xi
prev parent reply other threads:[~2012-06-17 18:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-16 6:55 [RFC][PATCH] fix casting constant to _Bool Xi Wang
2012-06-16 7:10 ` Pekka Enberg
2012-06-16 16:32 ` Linus Torvalds
2012-06-16 16:59 ` Dan Carpenter
2012-06-16 17:20 ` Linus Torvalds
2012-06-17 18:44 ` Xi Wang [this message]
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=CAC8CFBE-2ED0-430F-98AD-65DB45CFCD25@gmail.com \
--to=xi.wang@gmail.com \
--cc=dan.carpenter@oracle.com \
--cc=linux-sparse@vger.kernel.org \
--cc=penberg@kernel.org \
--cc=sparse@chrisli.org \
--cc=torvalds@linux-foundation.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;
as well as URLs for NNTP newsgroup(s).