OpenCloudOS-Kernel/drivers/net/ethernet/chelsio
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
..
cxgb networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
cxgb3 net: chelsio: cxgb3: constify attribute_group structures. 2017-07-18 12:04:57 -07:00
cxgb4 cxgb4: fix BUG() on interrupt deallocating path of ULD 2017-07-11 13:40:22 -07:00
cxgb4vf drivers: net: generalize napi_complete_done() 2017-01-30 15:10:42 -05:00
libcxgb networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
Kconfig libcxgb: add library module for Chelsio drivers 2016-07-25 10:31:08 -07:00
Makefile libcxgb: add library module for Chelsio drivers 2016-07-25 10:31:08 -07:00