aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2023-03-01 21:14:31 +0100
committerRafael J. Wysocki <[email protected]>2023-03-03 20:45:02 +0100
commit0ce637a5469139f901c3047e507afcf17bd00f43 (patch)
treea35b3595f605c3fdb7a8c742e81f29a98eeb7823 /lib/test_fortify/write_overflow-strncpy-src.c
parent5f68d0785e5258ab5e6df9e351929973a0742c1a (diff)
thermal/core: Use the thermal zone 'devdata' accessor in hwmon located drivers
The thermal zone device structure is exposed to the different drivers and obviously they access the internals while that should be restricted to the core thermal code. In order to self-encapsulate the thermal core code, we need to prevent the drivers accessing directly the thermal zone structure and provide accessor functions to deal with. Use the devdata accessor introduced in the previous patch. No functional changes intended. Signed-off-by: Daniel Lezcano <[email protected]> Acked-by: Guenter Roeck <[email protected]> #hwmon Acked-by: Mark Brown <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions