E1000_MAX_SENSORS
if (num_sensors > E1000_MAX_SENSORS)
num_sensors = E1000_MAX_SENSORS;
if ((i < E1000_MAX_SENSORS) && (sensor_location != 0)) {
struct e1000_thermal_diode_data sensor[E1000_MAX_SENSORS];
struct attribute *attrs[E1000_MAX_SENSORS * 4 + 1];
struct hwmon_attr hwmon_list[E1000_MAX_SENSORS * 4];
for (i = 0; i < E1000_MAX_SENSORS; i++) {