linux_dsm_epyc7002/drivers/net/ethernet/chelsio/cxgb3
Arvind Yadav 98dc8373db net: chelsio: cxgb3: constify attribute_group structures.
attribute_group are not supposed to change at runtime. All functions
working with attribute_group provided by <linux/sysfs.h> work
with const attribute_group. So mark the non-const structs as const.

File size before:
   text	   data	    bss	    dec	    hex	filename
  28720	    985	     12	  29717	   7415	net/.../cxgb3/cxgb3_main.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
  28848	    857	     12	  29717	   7415	net/.../cxgb3/cxgb3_main.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-18 12:04:57 -07:00
..
adapter.h net: cxgb3: Use net_device_stats from struct net_device 2017-04-07 07:03:33 -07:00
ael1002.c chelsio: constify cphy_ops structures 2016-01-04 21:58:28 -05:00
aq100x.c chelsio: constify cphy_ops structures 2016-01-04 21:58:28 -05:00
common.h chelsio: constify cphy_ops structures 2016-01-04 21:58:28 -05:00
cxgb3_ctl_defs.h
cxgb3_defs.h treewide: use kv[mz]alloc* rather than opencoded variants 2017-05-08 17:15:13 -07:00
cxgb3_ioctl.h
cxgb3_main.c net: chelsio: cxgb3: constify attribute_group structures. 2017-07-18 12:04:57 -07:00
cxgb3_offload.c networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
cxgb3_offload.h
firmware_exports.h
l2t.c networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
l2t.h treewide: use kv[mz]alloc* rather than opencoded variants 2017-05-08 17:15:13 -07:00
Makefile
mc5.c net: ethernet: chelsio: cxgb3: mc5.c: Remove some unused functions 2015-01-02 16:32:37 -05:00
regs.h chelsio: remove duplicate defines 2013-10-21 18:46:45 -04:00
sge_defs.h
sge.c net: introduce __skb_put_[zero, data, u8] 2017-06-20 13:30:14 -04:00
t3_cpl.h
t3_hw.c cxgb3: fix up vpd strings for kstrto*() 2016-02-19 15:49:31 -05:00
t3cdev.h
version.h cxgb3: update firmware version 2012-02-15 15:48:19 -05:00
vsc8211.c chelsio: constify cphy_ops structures 2016-01-04 21:58:28 -05:00
xgmac.c