diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2025-10-18 06:04:57 -0700 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2025-10-19 18:56:14 -0700 |
| commit | 8dcc66ad379ec0642fb281c45ccfd7d2d366e53f (patch) | |
| tree | 75080893c81a3c5c77b07b6bc1d2745fac486c2c /drivers/pci/controller/vmd.c | |
| parent | a09a5aa8bf258ddc99a22c30f17fe304b96b5350 (diff) | |
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: a0ac418c6007c ("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>
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions
