[Intel-wired-lan] [PATCH] ixgbe: Make all unchanging ops structures const

Jeff Kirsher jeffrey.t.kirsher at intel.com
Fri Jan 8 18:08:58 UTC 2016


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20160108/679750b5/attachment.asc>


More information about the Intel-wired-lan mailing list