[Intel-wired-lan] [PATCH] ixgbe: Make all unchanging ops structures const
Julia Lawall
julia.lawall at lip6.fr
Fri Jan 8 19:10:57 UTC 2016
On Fri, 8 Jan 2016, Jeff Kirsher wrote:
> On Thu, 2016-01-07 at 10:13 -0800, Mark D Rustad wrote:
> > The source for the ops structure contents are const, so make them
> > so. Copy them in place with structure assignments instead of memcpys.
> > Make the mbx_ops accessed by reference instead of making a copy of
> > the source structure. Update copyright date on the touched files.
> >
> > Reported-by: Julia Lawall <Julia.Lawall at lip6.fr>
> > Signed-off-by: Mark Rustad <mark.d.rustad at intel.com>
>
> Acked-by: Julia Lawall <julia.lawall at lip6.fr>
> > ---
> > Changes in V2:
> > - Access mbx_ops by reference instead of copying the structure. Saves
> > a
> > little bloat.
>
> Julia- Please reply to the mailing list when responding with and
> feedback or ACK's so that they are properly captured. Replying
> privately is generally frowned upon.
OK, sorry. Probably it was a mistake on my part.
julia
More information about the Intel-wired-lan
mailing list