summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-01-19 02:13:34 +0400
committerDavid S. Miller <davem@davemloft.net>2012-01-19 21:35:07 +0400
commit3d8fe98f8d5cb303d907d8f94ea6dc1f9a1d8b7a (patch)
tree12152a144b19938b17e112a2dc7d6f1ffb9d158c /drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
parentb5417bf8e8952401bca69ded67c30ead484af823 (diff)
downloadlinux-3d8fe98f8d5cb303d907d8f94ea6dc1f9a1d8b7a.tar.xz
ixgbevf: make operations tables const
The arrays of function pointers should be const to make life harder for rootkits. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c')
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
index 1cad3b6d2c30..bed411bada21 100644
--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
@@ -53,7 +53,7 @@
#include "ixgbevf.h"
-char ixgbevf_driver_name[] = "ixgbevf";
+const char ixgbevf_driver_name[] = "ixgbevf";
static const char ixgbevf_driver_string[] =
"Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver";