diff options
author | Zev Weiss <[email protected]> | 2021-11-10 18:53:38 -0800 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2021-11-14 16:57:16 -0800 |
commit | 214f525255069a55b4664842c68bc15b2ee049f0 (patch) | |
tree | e5f371e89054a14730b12bf5d4416d667b23356f /net/lapb/lapb_timer.c | |
parent | dbd3e6eaf3d813939b28e8a66e29d81cdc836445 (diff) |
hwmon: (nct6775) mask out bank number in nct6775_wmi_read_value()
The first call to nct6775_asuswmi_read() in nct6775_wmi_read_value()
had been passing the full bank+register number instead of just the
lower 8 bits. It didn't end up actually causing problems because the
second argument of that function is a u8 anyway, but it seems
preferable to be explicit about it at the call site (and consistent
with the rest of the code).
Signed-off-by: Zev Weiss <[email protected]>
Fixes: 3fbbfc27f955 ("hwmon: (nct6775) Support access via Asus WMI")
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions