]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Start temperature sensor attribute index with 1
authorGuenter Roeck <linux@roeck-us.net>
Tue, 26 Nov 2013 07:15:39 +0000 (07:15 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 18 Dec 2013 06:43:07 +0000 (22:43 -0800)
commit34f1a20c712e0037c6a32770ff486ec5862b24e3
tree794ba1628b15d0f7bb816bdf59d0213ea6f9b2d3
parent5369521e481115cea2f7ea718a75037a6d3bfa75
ixgbe: Start temperature sensor attribute index with 1

Per hwmon ABI, temperature sensor attribute index starts with 1, not 0.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c