]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: constify i40e_client_ops structure
authorJulia Lawall <julia.lawall@lip6.fr>
Sun, 1 May 2016 12:07:23 +0000 (14:07 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 17:41:26 +0000 (10:41 -0700)
commit9874261d8704dc9f7ce84764a832a2ca1c89d0e1
tree79244aca65f4d162da0629adeaab3c294c1c596a
parenta1295141c3555b854759c791dcd06ccde5c314b9
i40e: constify i40e_client_ops structure

Orabug: 23176970

The i40e_client_ops structure is never modified, so declare it as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 3949c4ac8cfa8ab3518a326c72eff1a2ff489bb9)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Conflicts:
drivers/infiniband/hw/i40iw/i40iw_main.c
drivers/net/ethernet/intel/i40e/i40e_client.h