fm10k: use snprintf() instead of sprintf() to avoid buffer overflow
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 25 Aug 2015 00:01:58 +0000 (17:01 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 14 Oct 2015 06:49:13 +0000 (23:49 -0700)
commitf6f19f8bb9afcd0e9970fe51b5affa3063af4499
tree65ca3c04753980bcd1d158e34847ed77a50f9eae
parentf079fa005aae08ee0e1bc32699874ff4f02e11c1
fm10k: use snprintf() instead of sprintf() to avoid buffer overflow

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c
drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c