From: David Marchand <david.marchand@redhat.com>
To: "Morten Brørup" <mb@smartsharesystems.com>
Cc: thomas@monjalon.net, dev@dpdk.org,
Bruce Richardson <bruce.richardson@intel.com>
Subject: Re: [PATCH v2] eal: Pointer alignment check improvements
Date: Fri, 30 Sep 2022 10:38:18 +0200 [thread overview]
Message-ID: <CAJFAV8xpt5zOJvj_7VB-7VbpAoek5uv_GvumkbtRNyBimzf3Zg@mail.gmail.com> (raw)
In-Reply-To: <Yy1tfBcvFf8L8gvc@bricha3-MOBL.ger.corp.intel.com>
On Fri, Sep 23, 2022 at 10:25 AM Bruce Richardson
<bruce.richardson@intel.com> wrote:
> On Thu, Sep 22, 2022 at 01:44:13PM +0200, Morten Brørup wrote:
> > Checking a const pointer for alignment would emit a warning about the
> > const qualifier being discarded.
> >
> > No need to calculate the aligned pointer; just check the last bits of the
> > pointer.
> >
> > Signed-off-by: Morten Brørup <mb@smartsharesystems.com>
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Applied, thanks.
--
David Marchand
prev parent reply other threads:[~2022-09-30 8:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-21 14:28 [PATCH] " Morten Brørup
2022-09-22 11:44 ` [PATCH v2] " Morten Brørup
2022-09-22 11:52 ` Bruce Richardson
2022-09-22 11:59 ` Bruce Richardson
2022-09-22 13:00 ` Morten Brørup
2022-09-22 13:27 ` [PATCH v3] " Morten Brørup
2022-09-22 13:38 ` Bruce Richardson
2022-09-22 20:54 ` Morten Brørup
2022-09-23 8:24 ` Bruce Richardson
2022-09-23 8:25 ` [PATCH v2] " Bruce Richardson
2022-09-30 8:38 ` David Marchand [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=CAJFAV8xpt5zOJvj_7VB-7VbpAoek5uv_GvumkbtRNyBimzf3Zg@mail.gmail.com \
--to=david.marchand@redhat.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=mb@smartsharesystems.com \
--cc=thomas@monjalon.net \
/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).