diff options
author | Zhang Rui <[email protected]> | 2024-02-02 17:21:42 +0800 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2024-02-25 12:37:37 -0800 |
commit | 326241f71f3d8de3c62236b559ce3f2f201aec4d (patch) | |
tree | 7f1e60780032fa4d11580f03e72b9daf6dc4694e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | b0b01414a26105b68cbce308df076ec66c72bddd (diff) |
hwmon: (coretemp) Split package temp_data and core temp_data
Saving package temp_data and core temp_data in one array with different
offsets is fragile.
Split them and clean up crabbed maths and macros. This also fixes a
problem that pdata->core_data[0] was never used.
Signed-off-by: Zhang Rui <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions