[PATCH v7 4/4] eal: add nonnull and access function attributes
Morten Brørup
mb at smartsharesystems.com
Tue Apr 4 16:01:27 CEST 2023
> From: David Marchand [mailto:david.marchand at redhat.com]
> Sent: Tuesday, 4 April 2023 15.51
>
> Hello Morten,
>
> On Tue, Apr 4, 2023 at 3:42 PM Morten Brørup <mb at smartsharesystems.com> wrote:
> > > Add nonnull function attribute to help the compiler detect a NULL
> > > pointer being passed to a function not accepting NULL pointers as an
> > > argument at build time.
> > >
> > > Add access function attributes to tell the compiler how a function
> > > accesses memory pointed to by its pointer arguments.
> > >
> > > Add these attributes to the rte_memcpy() function, as the first in
> > > hopefully many to come.
> > >
> > > Signed-off-by: Morten Brørup <mb at smartsharesystems.com>
> > > Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
> > > Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
> > > ---
> >
> > David,
> >
> > Patch parts 1, 2 and 3 are essentially individual stand-alone patches, and
> can be merged as such.
>
> I am aware of them.
>
> Btw, those were marked as "awaiting upstream", so I suspect someone
> (you maybe?) changed their state manually.
> This state is something used between subtree maintainers and main repository.
Yes, I changed their state, trying to help... Seems I was wrong. Thank you for informing me of the usage.
Do you know where I can find guidance to using DPDK Patchwork as a contributor? Or can I look for Linux Patchwork and assume it generally is used the same way?
>
> I fixed their state as NEW in patchwork yesterday so they can be
> considered for merge.
Great, thanks.
>
> >
> > I only made them part of this series because they were required for the
> primary patch 4.
> >
> > When I have some time to spare, I will send a new patch, adding the nonnull
> and access attributes, based on the received feedback.
>
> Ok.
>
>
> --
> David Marchand
More information about the dev
mailing list