]> git.baikalelectronics.ru Git - kernel.git/commit
vmxnet3" make ethtool ops const
authorstephen hemminger <shemminger@vyatta.com>
Wed, 4 Jan 2012 11:58:13 +0000 (11:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jan 2012 18:23:00 +0000 (13:23 -0500)
commitc27d3214f5666ce15bab9551f385f68354b16fe6
treecf1b8a617fd1762cf5c35a694175340aad28f389
parentae89fa7d8d4525b6259439ee3247601bb4c36e1d
vmxnet3" make ethtool ops const

All tables of function pointers should be const to make hacks
more difficult. Compile tested only.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_ethtool.c