From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: Richard Palethorpe <rpalethorpe@suse.com>
Cc: linux-sparse@vger.kernel.org, ltp@lists.linux.it
Subject: Re: [PATCH] sparse: Use offsetof macro to silence null ptr subtraction warning
Date: Sat, 21 May 2022 15:28:00 +0200 [thread overview]
Message-ID: <20220521132800.52xlazjqktxz27b5@mail> (raw)
In-Reply-To: <20220321112119.23308-1-rpalethorpe@suse.com>
On Mon, Mar 21, 2022 at 11:21:19AM +0000, Richard Palethorpe wrote:
> Subtracting (char *)0 is undefined behavior. Newer compilers warn
> about this unless it is done in system headers.
Thanks you, pushed now.
-- Luc
prev parent reply other threads:[~2022-05-21 13:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 11:21 [PATCH] sparse: Use offsetof macro to silence null ptr subtraction warning Richard Palethorpe
2022-05-21 13:28 ` Luc Van Oostenryck [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=20220521132800.52xlazjqktxz27b5@mail \
--to=luc.vanoostenryck@gmail.com \
--cc=linux-sparse@vger.kernel.org \
--cc=ltp@lists.linux.it \
--cc=rpalethorpe@suse.com \
/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).