linux/drivers/hwmon
Guenter Roeck 8dcc66ad37 hwmon: (sht3x) Fix error handling
Handling of errors when reading status, temperature, and humidity returns
the error number as negative attribute value. Fix it up by returning
the error as return value.

Fixes: a0ac418c60 ("hwmon: (sht3x) convert some of sysfs interface to hwmon")
Cc: JuenKit Yip <JuenKit_Yip@hotmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2025-10-19 18:56:14 -07:00
..
occ hwmon: (occ) fix unaligned accesses 2025-06-16 06:30:57 -07:00
peci hwmon: (peci/dimmtemp) Do not provide fake thresholds data 2025-02-24 18:10:10 -08:00
pmbus hwmon: (pmbus/isl68137) Fix child node reference leak on early return 2025-10-19 18:56:14 -07:00
Kconfig gpio updates for v6.18-rc1 2025-10-01 11:34:12 -07:00
Makefile gpio updates for v6.18-rc1 2025-10-01 11:34:12 -07:00
abituguru.c
abituguru3.c
acpi_power_meter.c hwmon: (acpi_power_meter) Replace the deprecated hwmon_device_register 2025-03-21 08:01:05 -07:00
ad7314.c hwmon: (ad7314) Validate leading zero bits and return error 2025-03-02 08:42:01 -08:00
ad7414.c
ad7418.c
adc128d818.c
adcxx.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm1177.c
adm9240.c
ads7828.c
ads7871.c
adt7x10.c
adt7x10.h
adt7310.c
adt7410.c
adt7411.c
adt7462.c
adt7470.c
adt7475.c hwmon: (adt7475) Implement support for #pwm-cells = <3> 2025-07-20 16:38:34 -07:00
aht10.c hwmon: (aht10) Drop doctype annotations from static functions 2025-04-23 07:18:27 -07:00
amc6821.c hwmon: (amc6821) Add cooling device support 2025-07-20 16:38:34 -07: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
aspeed-pwm-tacho.c
asus-ec-sensors.c hwmon: (asus-ec-sensors) add TUF GAMING X670E PLUS WIFI 2025-09-25 08:08:13 -07: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
asus_wmi_sensors.c
atxp1.c
axi-fan-control.c include: linux: move adi-axi-common.h out of fpga 2025-06-30 17:57:15 -07:00
bt1-pvt.c
bt1-pvt.h
cgbc-hwmon.c hwmon: (cgbc-hwmon) Add missing NULL check after devm_kzalloc() 2025-10-19 18:56:14 -07:00
chipcap2.c hwmon: (chipcap2) Switch to guard() for mutext handling 2024-12-14 08:00:44 -08:00
coretemp.c hwmon: (coretemp) Replace x86_model checks with VFM ones 2025-09-07 16:33:47 -07:00
corsair-cpro.c hwmon: (corsair-cpro) Validate the size of the received input buffer 2025-07-15 10:36:35 -07:00
corsair-psu.c hwmon: (corsair-psu) add support for HX1200i Series 2025 2025-07-20 16:38:34 -07:00
cros_ec_hwmon.c hwmon: (cros_ec) register fans into thermal framework cooling devices 2025-09-25 08:08:14 -07:00
da9052-hwmon.c
da9055-hwmon.c
dell-smm-hwmon.c hwmon: (dell-smm) Add support for Dell OptiPlex 7040 2025-09-24 07:50:42 -07:00
dme1737.c
drivetemp.c hwmon: (drivetemp) Set scsi command timeout to 10s 2025-01-15 06:22:13 -08:00
ds620.c
ds1621.c
emc6w201.c
emc1403.c
emc2103.c
emc2305.c hwmon: (emc2305) Set initial PWM minimum value during probe based on thermal state 2025-07-20 16:38:34 -07:00
f71805f.c
f71882fg.c
f75375s.c
fam15h_power.c x86/msr: Rename 'rdmsrl_safe()' to 'rdmsrq_safe()' 2025-04-10 11:58:38 +02:00
fschmd.c
ftsteutates.c hwmon: (ftsteutates) Fix TOCTOU race in fts_read() 2025-06-16 06:30:57 -07:00
g760a.c
g762.c
gigabyte_waterforce.c
gl518sm.c
gl520sm.c
gpd-fan.c hwmon: (gpd-fan) Fix error handling in gpd_fan_probe() 2025-10-19 18:56:14 -07:00
gpio-fan.c hwmon: (gpio-fan) Add regulator support 2025-04-23 07:18:27 -07:00
gsc-hwmon.c hwmon: (gsc-hwmon) fix fan pwm setpoint show functions 2025-07-20 16:37:09 -07:00
gxp-fan-ctrl.c
hih6130.c
hp-wmi-sensors.c hwmon: (hp-wmi-sensors) Use the WMI bus API when accessing sensors 2025-02-24 13:19:12 +02:00
hs3001.c
htu31.c hwmon: add driver for HTU31 2025-03-18 08:03:40 -07:00
hwmon-vid.c x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
hwmon.c hwmon: Serialize accesses in hwmon core 2025-09-08 06:24:50 -07:00
i5k_amb.c
i5500_temp.c
ibmaem.c hwmon: (ibmaem) match return type of wait_for_completion_timeout 2025-07-20 16:38:34 -07:00
ibmpex.c
ibmpowernv.c
iio_hwmon.c
ina2xx.c hwmon: (ina2xx) make regulator 'vs' support optional 2025-04-23 07:18:27 -07:00
ina209.c
ina238.c hwmon: (ina238) Add support for INA700 2025-09-07 16:35:12 -07:00
ina3221.c hwmon: (ina3221) Use per-client debugfs entry 2025-02-02 17:34:06 -08: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) Fix current reading calculation 2025-05-19 21:56:18 -07:00
it87.c
jc42.c
k8temp.c
k10temp.c hwmon: (k10temp) Add device ID for Strix Halo 2025-09-07 16:33:47 -07:00
kbatt.c hwmon: Add KEBA battery monitoring controller support 2025-04-23 07:18:27 -07:00
kfan.c hwmon: Add KEBA fan controller support 2025-05-12 18:05:54 -07:00
lan966x-hwmon.c
lenovo-ec-sensors.c hwmon: (lenovo-ec-sensors) Update P8 supprt 2025-09-07 16:33:47 -07:00
lineage-pem.c
lm63.c
lm70.c
lm73.c
lm75.c hwmon: (lm75) Add NXP P3T1750 support 2025-09-07 16:33:47 -07:00
lm75.h
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c
lm87.c
lm90.c hwmon: (lm90) Use to_delayed_work() 2025-04-23 07:18:27 -07:00
lm92.c
lm93.c
lm95234.c
lm95241.c
lm95245.c
lochnagar-hwmon.c
ltc2945.c
ltc2947-core.c
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 treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
ltc4151.c
ltc4215.c
ltc4222.c
ltc4245.c
ltc4260.c
ltc4261.c
ltc4282.c hwmon: (ltc4282) remove the use of dev_err_probe() 2025-09-07 16:33:47 -07:00
ltq-cputemp.c
max127.c
max197.c
max1111.c
max1619.c
max1668.c
max6620.c
max6621.c
max6639.c hwmon: (max6639) Allow setting target RPM 2025-04-23 07:18:27 -07:00
max6650.c
max6697.c
max16065.c
max31722.c
max31730.c
max31760.c
max31790.c
max31827.c hwmon: (max31827) use sysfs_emit() in temp1_resolution_show() 2025-07-20 16:38:34 -07:00
max77705-hwmon.c hwmon: (max77705) Add initial support 2025-04-23 07:21:15 -07:00
mc33xs2410_hwmon.c hwmon: add support for MC33XS2410 hardware monitoring 2025-07-24 09:20:39 +02:00
mc34vr500.c
mc13783-adc.c
mcp3021.c
menf21bmc_hwmon.c
mlxreg-fan.c hwmon: (mlxreg-fan) Add support for new flavour of capability register 2025-09-25 08:08:14 -07:00
mr75203.c
nct6683.c hwmon: (nct6683) Add customer ID for AMD BC-250 2025-03-02 08:14:41 -08:00
nct6694-hwmon.c hwmon: Add Nuvoton NCT6694 HWMON support 2025-09-16 14:41:57 +01: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 hwmon: (nct6775) Use int type to store negative error codes 2025-09-07 16:33:47 -07:00
nct6775.h
nct7363.c hwmon: (isl28022, nct7363) Convert to use maple tree register cache 2025-05-01 20:10:36 -07:00
nct7802.c
nct7904.c
npcm750-pwm-fan.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
nsa320-hwmon.c
ntc_thermistor.c hwmon updates for v6.15 2025-03-25 19:55:29 -07:00
nzxt-kraken2.c
nzxt-kraken3.c
nzxt-smart2.c hwmon: (nzxt-smart2) Use devm_mutex_init() 2025-09-07 16:35:18 -07:00
pc87360.c
pc87427.c
pcf8591.c
powerz.c
powr1220.c
pt5161l.c hwmon: (pt5161l) Use per-client debugfs entry 2025-03-05 21:17:56 -08:00
pwm-fan.c hwmon: (pwm-fan) Implement after shutdown fan settings 2025-09-07 16:33:48 -07:00
qnap-mcu-hwmon.c hwmon: (qnap-mcu) Remove (explicitly) unused header 2025-04-23 07:18:26 -07:00
raspberrypi-hwmon.c hwmon: (raspberrypi) Add PM suspend/resume support 2024-12-14 08:00:44 -08:00
sa67mcu-hwmon.c hwmon: add SMARC-sAM67 support 2025-09-25 08:08:13 -07:00
sbtsi_temp.c hwmon: (sbtsi_temp) AMD CPU extended temperature range support 2025-09-07 16:33:47 -07:00
sch56xx-common.c hwmon: (sch56xx-common) don't print superfluous errors 2025-09-07 16:33:47 -07:00
sch56xx-common.h
sch5627.c
sch5636.c
scmi-hwmon.c
scpi-hwmon.c
sfctemp.c
sg2042-mcu.c hwmon: (sg2042) Add back module description/author tags 2025-02-06 18:51:18 -08:00
sht3x.c hwmon: (sht3x) Fix error handling 2025-10-19 18:56:14 -07:00
sht4x.c
sht15.c
sht21.c hwmon: (sht21) Add devicetree support 2025-09-09 05:26:11 -07:00
shtc1.c
sis5595.c
sl28cpld-hwmon.c
smpro-hwmon.c
smsc47b397.c
smsc47m1.c
smsc47m192.c
sparx5-temp.c
spd5118.c hwmon: (spd5118) Detect and support 16-bit register addressing 2025-04-23 07:18:27 -07:00
stts751.c
surface_fan.c
surface_temp.c
sy7636a-hwmon.c hwmon: sy7636a: add alias 2025-09-09 05:26:43 -07:00
tc74.c
tc654.c
thmc50.c
tmp102.c hwmon: tmp102: Add support for label 2025-09-07 16:33:48 -07:00
tmp103.c
tmp108.c hwmon: (tmp108) Drop of_match_ptr() protection 2024-12-14 08:00:44 -08:00
tmp401.c
tmp421.c
tmp464.c
tmp513.c hwmon: (tmp513) Fix division of negative numbers 2025-01-14 15:42:16 -08:00
tps23861.c hwmon: (tps23861) Use per-client debugfs entry 2025-02-02 17:34:06 -08:00
ultra45_env.c
vexpress-hwmon.c
via-cputemp.c
via686a.c
vt1211.c
vt8231.c
w83l785ts.c
w83l786ng.c
w83627ehf.c hwmon: (w83627ehf) make the read-only arrays 'bit' static const 2025-07-20 16:38:34 -07:00
w83627hf.c
w83773g.c
w83781d.c
w83791d.c
w83792d.c
w83793.c
w83795.c
wm831x-hwmon.c
wm8350-hwmon.c
xgene-hwmon.c hwmon: (xgene-hwmon) Simplify PCC shared memory region handling 2025-04-23 07:18:27 -07:00