[PATCH v2] eal: Pointer alignment check improvements
David Marchand
david.marchand at redhat.com
Fri Sep 30 10:38:18 CEST 2022
On Fri, Sep 23, 2022 at 10:25 AM Bruce Richardson
<bruce.richardson at 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 at smartsharesystems.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list