diff options
| author | Aleksa Savic <[email protected]> | 2024-11-24 15:27:24 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2024-11-24 15:36:47 +0000 |
| commit | 998b5a78a9ce1cc4378e7281e4ea310e37596170 (patch) | |
| tree | 46f9776d6b6b507b0f22df84d252042e195ac959 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | hwmon: (tps23861) Fix reporting of negative temperatures (diff) | |
| download | kernel-998b5a78a9ce1cc4378e7281e4ea310e37596170.tar.gz kernel-998b5a78a9ce1cc4378e7281e4ea310e37596170.zip | |
hwmon: (aquacomputer_d5next) Fix length of speed_input array
Commit 120584c728a6 ("hwmon: (aquacomputer_d5next) Add support for Octo
flow sensor") added support for reading Octo flow sensor, but didn't
update the priv->speed_input array length. Since Octo has 8 fans, with
the addition of the flow sensor the proper length for speed_input is 9.
Reported by Arne Schwabe on Github [1], who received a UBSAN warning.
Fixes: 120584c728a6 ("hwmon: (aquacomputer_d5next) Add support for Octo flow sensor")
Closes: https://github.com/aleksamagicka/aquacomputer_d5next-hwmon/issues/100 [1]
Reported-by: Arne Schwabe <[email protected]>
Signed-off-by: Aleksa Savic <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions
