linux/drivers/hwmon
Tasos Sahanidis 815f80ad20 hwmon: (nct6775-core) Fix out of bounds access for NCT679{8,9}
pwm_num is set to 7 for these chips, but NCT6776_REG_PWM_MODE and
NCT6776_PWM_MODE_MASK only contain 6 values.

Fix this by adding another 0 to the end of each array.

Signed-off-by: Tasos Sahanidis <tasos@tasossah.com>
Link: https://lore.kernel.org/r/20250312030832.106475-1-tasos@tasossah.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2025-03-17 04:44:20 -07:00
..
occ hwmon: (occ/p9_sbe) Constify 'struct bin_attribute' 2024-12-15 22:02:26 -08:00
peci hwmon: (peci/dimmtemp) Do not provide fake thresholds data 2025-02-24 18:10:10 -08:00
pmbus hwmon: (pmbus) Initialise page count in pmbus_identify() 2025-03-02 08:27:22 -08:00
Kconfig hwmon updates for v6.14-rc1 2025-01-22 10:16:48 -08:00
Makefile hwmon: add driver for the hwmon parts of qnap-mcu devices 2024-12-17 13:14:48 +00:00
abituguru.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
abituguru3.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
acpi_power_meter.c hwmon updates for v6.14-rc1 2025-01-22 10:16:48 -08:00
ad7314.c hwmon: (ad7314) Validate leading zero bits and return error 2025-03-02 08:42:01 -08:00
ad7414.c
ad7418.c hwmon: (ad7418) Remove use of i2c_match_id() 2024-06-08 16:07:32 -07:00
adc128d818.c hwmon: (adc128d818) Fix underflows seen when writing limit attributes 2024-07-07 07:48:25 -07:00
adcxx.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c hwmon: (adm1031) Remove use of i2c_match_id() 2024-06-08 16:07:32 -07:00
adm1177.c
adm9240.c
ads7828.c hwmon: (ads7828) Remove use of i2c_match_id() 2024-06-08 16:07:32 -07:00
ads7871.c
adt7x10.c hwmon: (adt7x10) Use multi-byte regmap operations 2024-07-31 10:43:51 -07:00
adt7x10.h
adt7310.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
adt7410.c
adt7411.c
adt7462.c
adt7470.c hwmon: (adt7470) Use multi-byte regmap operations 2024-07-31 10:43:51 -07:00
adt7475.c hwmon: (adt7475) Fix memory leak in adt7475_fan_pwm_config() 2024-10-07 08:42:31 -07:00
aht10.c hwmon: (aht10) Remove use of i2c_match_id() 2024-06-08 16:07:32 -07:00
amc6821.c hwmon: (amc6821) add support for tsd,mule 2024-11-10 14:48:06 -08:00
applesmc.c
aquacomputer_d5next.c hwmon: (aquacomputer_d5next) Fix length of speed_input array 2024-11-24 07:36:47 -08:00
as370-hwmon.c
asb100.c
asc7621.c
aspeed-g6-pwm-tach.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
aspeed-pwm-tacho.c hwmon: (aspeed-pwm-tacho): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
asus-ec-sensors.c hwmon: (asus-ec-sensors) Add TUF GAMING X670E PLUS 2024-12-14 08:00:44 -08:00
asus_atk0110.c hwmon: (asus_atk0110) Use str_enabled_disabled() and str_enable_disable() helpers 2025-01-12 08:46:23 -08:00
asus_rog_ryujin.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
asus_wmi_sensors.c
atxp1.c
axi-fan-control.c
bt1-pvt.c
bt1-pvt.h
chipcap2.c hwmon: (chipcap2) Switch to guard() for mutext handling 2024-12-14 08:00:44 -08:00
coretemp.c
corsair-cpro.c hwmon: add missing MODULE_DESCRIPTION() macros 2024-06-08 16:07:33 -07:00
corsair-psu.c hwmon: corsair-psu: add USB id of HX1200i Series 2023 psu 2024-05-29 15:33:18 -07:00
cros_ec_hwmon.c hwmon: (cros_ec) register thermal sensors to thermal framework 2024-11-12 19:03:58 -08:00
da9052-hwmon.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
da9055-hwmon.c
dell-smm-hwmon.c hwmon: (dell-smm) Add Dell XPS 9370 to fan control whitelist 2025-01-09 15:44:31 -08:00
dme1737.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
drivetemp.c hwmon: (drivetemp) Set scsi command timeout to 10s 2025-01-15 06:22:13 -08:00
ds620.c
ds1621.c hwmon: (ds1621) Remove use of i2c_match_id() 2024-06-08 16:07:32 -07:00
emc6w201.c
emc1403.c
emc2103.c
emc2305.c
f71805f.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
f71882fg.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
f75375s.c hwmon: (f75375s) Remove use of i2c_match_id() 2024-06-08 16:07:32 -07:00
fam15h_power.c
fschmd.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
ftsteutates.c
g760a.c
g762.c hwmon: (g762) Initialize fans after configuring clock 2024-07-09 15:45:48 -07:00
gigabyte_waterforce.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
gl518sm.c
gl520sm.c
gpio-fan.c
gsc-hwmon.c hwmon: (gsc) Simplify specifying static visibility attribute 2024-11-10 14:48:06 -08:00
gxp-fan-ctrl.c
hih6130.c
hp-wmi-sensors.c platform/x86: wmi: Pass event data directly to legacy notify handlers 2024-09-05 17:21:59 +02:00
hs3001.c
hwmon-vid.c
hwmon.c Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
i5k_amb.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
i5500_temp.c hwmon: (i5500_temp) Simplify specifying static visibility attribute 2024-11-10 14:48:06 -08:00
ibmaem.c
ibmpex.c
ibmpowernv.c
iio_hwmon.c Char/Misc and other driver changes for 6.11-rc1 2024-07-19 15:55:08 -07:00
ina2xx.c hwmon: (ina226) Add support for SY24655 2024-11-10 14:48:07 -08:00
ina209.c
ina238.c hwmon: (ina238) Constify struct regmap_config 2024-07-02 11:30:10 -07:00
ina3221.c hwmon: (ina3221): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
intel-m10-bmc-hwmon.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
isl28022.c hwmon: (isl28022) Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-12-14 08:00:44 -08:00
it87.c
jc42.c hwmon: (jc42) Drop of_match_ptr() protection 2024-11-12 13:54:55 -08:00
k8temp.c
k10temp.c x86/amd_nb: Move SMN access code to a new amd_node driver 2025-01-08 10:59:44 +01:00
lan966x-hwmon.c
lenovo-ec-sensors.c
lineage-pem.c
lm63.c hwmon: (lm63) Remove use of i2c_match_id() 2024-06-08 16:07:32 -07:00
lm70.c hwmon: lm70: simplify with spi_get_device_match_data() 2024-06-08 16:07:32 -07:00
lm73.c
lm75.c hwmon: (lm75) add I3C support for P3T1755 2024-12-22 09:20:29 -08:00
lm75.h
lm77.c
lm78.c hwmon: (lm78) Remove use of i2c_match_id() 2024-06-08 16:07:33 -07:00
lm80.c
lm83.c hwmon: (lm83) Remove use of i2c_match_id() 2024-06-08 16:07:33 -07:00
lm85.c hwmon: (lm85) Remove use of i2c_match_id() 2024-06-08 16:07:33 -07:00
lm87.c
lm90.c hwmon: (lm90): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
lm92.c hwmon: (lm92) Convert to with_info hwmon API 2024-08-27 08:10:23 -07:00
lm93.c
lm95234.c hwmon: (lm95234) Use multi-byte regmap operations 2024-07-31 10:43:52 -07:00
lm95241.c
lm95245.c hwmon: (lm95245) Use multi-byte regmap operations 2024-07-31 10:43:51 -07:00
lochnagar-hwmon.c
ltc2945.c
ltc2947-core.c hwmon: (ltc2947) Move to firmware agnostic API 2024-07-31 10:43:52 -07:00
ltc2947-i2c.c
ltc2947-spi.c
ltc2947.h
ltc2990.c
ltc2991.c hwmon: (ltc2991) Fix mixed signed/unsigned in DIV_ROUND_CLOSEST 2025-01-15 13:52:43 -08:00
ltc2992.c hwmon: (ltc2992) use device_for_each_child_node_scoped() to access child nodes 2024-07-31 10:43:52 -07:00
ltc4151.c
ltc4215.c
ltc4222.c
ltc4245.c
ltc4260.c
ltc4261.c
ltc4282.c
ltq-cputemp.c
max127.c
max197.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
max1111.c
max1619.c hwmon: (max1619) Improve chip detection code 2024-07-31 10:43:53 -07:00
max1668.c hwmon: (max1668) Convert to use with_info hwmon API 2024-07-31 10:43:53 -07:00
max6620.c
max6621.c
max6639.c hwmon: (max6639) : Configure based on DT property 2024-11-10 14:48:06 -08:00
max6650.c
max6697.c hwmon: (max6697) Document discrepancy in overtemperature status bit values 2024-07-31 10:43:53 -07:00
max16065.c hwmon: (max16065) Fix alarm attributes 2024-07-31 10:43:52 -07:00
max31722.c
max31730.c
max31760.c
max31790.c
max31827.c hwmon: (pmbus/max31827) Explain why enum chips must not start with 0 2024-06-11 07:25:03 -07:00
mc34vr500.c
mc13783-adc.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
mcp3021.c hwmon: (mcp3021) Remove use of i2c_match_id() 2024-06-08 16:07:33 -07:00
menf21bmc_hwmon.c
mlxreg-fan.c
mr75203.c hwmon: add missing MODULE_DESCRIPTION() macros 2024-06-08 16:07:33 -07:00
nct6683.c hwmon: (nct6683) Add another customer ID for MSI 2025-01-06 19:21:31 -08:00
nct6775-core.c hwmon: (nct6775-core) Fix out of bounds access for NCT679{8,9} 2025-03-17 04:44:20 -07:00
nct6775-i2c.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
nct6775-platform.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
nct6775.h hwmon: (nct6775) Let enum kinds start with index 0 2024-06-11 07:25:13 -07:00
nct7363.c hwmon: Add driver for I2C chip Nuvoton NCT7363Y 2024-11-10 14:48:07 -08:00
nct7802.c hwmon: (nct7802): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
nct7904.c
npcm750-pwm-fan.c hwmon: (npcm750-pwm-fan): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
nsa320-hwmon.c
ntc_thermistor.c hwmon: (ntc_thermistor) Fix the ncpXXxh103 sensor table 2025-03-02 08:35:45 -08:00
nzxt-kraken2.c hwmon: (nzxt-kraken2) Simplify specifying static visibility attribute 2024-11-10 14:48:06 -08:00
nzxt-kraken3.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
nzxt-smart2.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
oxp-sensors.c hwmon: (oxp-sensors) Add missing breaks to fix -Wimplicit-fallthrough with clang 2024-08-28 13:33:53 -07:00
pc87360.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
pc87427.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
pcf8591.c
powerz.c hwmon: (powerz) Simplify specifying static visibility attribute 2024-11-10 14:48:06 -08:00
powr1220.c hwmon: (powr1220) Remove use of i2c_match_id() 2024-06-08 16:07:33 -07:00
pt5161l.c hwmon: (pt5161l) Fix invalid temperature reading 2024-08-26 20:58:05 -07:00
pwm-fan.c hwmon: (pwm-fan) Default to the Maximum cooling level if provided 2025-01-13 08:55:46 -08:00
qnap-mcu-hwmon.c hwmon: add driver for the hwmon parts of qnap-mcu devices 2024-12-17 13:14:48 +00:00
raspberrypi-hwmon.c hwmon: (raspberrypi) Add PM suspend/resume support 2024-12-14 08:00:44 -08:00
sbrmi.c
sbtsi_temp.c
sch56xx-common.c
sch56xx-common.h hwmon: (sch5627) Remove unused declaration sch56xx_watchdog_unregister() 2024-08-27 08:10:23 -07:00
sch5627.c
sch5636.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
scmi-hwmon.c
scpi-hwmon.c
sfctemp.c
sg2042-mcu.c hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-11-10 14:48:05 -08:00
sht3x.c hwmon: (sht3x) Remove use of i2c_match_id() 2024-06-08 16:07:33 -07:00
sht4x.c hwmon: (sht4x): add heater support 2024-11-10 14:48:07 -08:00
sht15.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
sht21.c hwmon: (sht21) Use %*ph to print small buffer 2024-09-12 14:17:29 -07:00
shtc1.c hwmon updates for v6.11-rc1 2024-07-15 17:39:13 -07:00
sis5595.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
sl28cpld-hwmon.c hwmon: (sl28cpld) Simplify specifying static visibility attribute 2024-11-10 14:48:06 -08:00
smpro-hwmon.c
smsc47b397.c
smsc47m1.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
smsc47m192.c
sparx5-temp.c
spd5118.c hwmon: (spd5118) Use generic parity calculation 2025-01-12 23:55:50 +01:00
stts751.c hwmon: (stts751) Add "st" vendor prefix to "stts751" compatible string 2024-08-27 08:10:23 -07:00
surface_fan.c hwmon: (surface_fan) Simplify specifying static visibility attribute 2024-11-10 14:48:06 -08:00
surface_temp.c hwmon: Add thermal sensor driver for Surface Aggregator Module 2024-08-27 08:10:23 -07:00
sy7636a-hwmon.c
tc74.c
tc654.c
thmc50.c hwmon: (thmc50) Remove use of i2c_match_id() 2024-06-08 16:07:33 -07:00
tmp102.c
tmp103.c
tmp108.c hwmon: (tmp108) Drop of_match_ptr() protection 2024-12-14 08:00:44 -08:00
tmp401.c hwmon: (tmp401) Use multi-byte regmap operations 2024-07-31 10:43:51 -07:00
tmp421.c hwmon: (tmp421): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
tmp464.c hwmon: (tmp464): Simplify with scoped for each OF child loop 2024-08-27 08:11:15 -07:00
tmp513.c hwmon: (tmp513) Fix division of negative numbers 2025-01-14 15:42:16 -08:00
tps23861.c hwmon: (tps23861) Fix reporting of negative temperatures 2024-11-23 09:49:03 -08:00
ultra45_env.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
vexpress-hwmon.c hwmon: (vexpress) Use of_property_present() 2024-08-27 08:10:11 -07:00
via-cputemp.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
via686a.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
vt1211.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
vt8231.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
w83l785ts.c
w83l786ng.c
w83627ehf.c hwmon: (w83627ehf) Fix underflows seen when writing limit attributes 2024-07-07 07:48:25 -07:00
w83627hf.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
w83773g.c
w83781d.c hwmon: Switch back to struct platform_driver::remove() 2024-11-10 14:48:07 -08:00
w83791d.c
w83792d.c
w83793.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
w83795.c hwmon: (w83795): Remove use of i2c_match_id() 2024-06-08 16:07:33 -07:00
wm831x-hwmon.c
wm8350-hwmon.c
xgene-hwmon.c hwmon: fix a NULL vs IS_ERR_OR_NULL() check in xgene_hwmon_probe() 2025-03-03 06:04:34 -08:00