summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMark Rustad2016-01-07 19:13:03 +0100
committerJeff Kirsher2016-04-04 22:36:58 +0200
commit37689010da28c6dfd9f59e60d7f42c47b775171c (patch)
tree5d0b3827b4c2b5265a554a305d49bfce934b2e2a /net
parentixgbe: Avoid adding VLAN 0 twice to VLVF and VFTA (diff)
downloadkernel-qcow2-linux-37689010da28c6dfd9f59e60d7f42c47b775171c.tar.gz
kernel-qcow2-linux-37689010da28c6dfd9f59e60d7f42c47b775171c.tar.xz
kernel-qcow2-linux-37689010da28c6dfd9f59e60d7f42c47b775171c.zip
ixgbe: Make all unchanging ops structures const
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@lip6.fr> Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions