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:45 +0100
committerRafael J. Wysocki <[email protected]>2023-03-03 20:45:03 +0100
commitcad450d19d5ee0cd182778835aa82f7cf2678eae (patch)
treeb7ccf88ca3cfbe8a419884b80c2f725d7190cea2 /lib/test_fortify/write_overflow-strncpy-src.c
parent0cf321c85886a74981bff21323b4a097c395fabb (diff)
thermal/drivers/acerhdf: Make interval setting only at module load time
The thermal zone device structure is in the process of being private to the thermal framework core code. This driver is directly accessing and changing the monitoring polling rate. After discussing with the maintainers of this driver, having the polling interval at module loading time is enough for their purpose. Change the code to take into account the interval when the module is loaded but restrict the permissions so the value can not be changed afterwards. Signed-off-by: Daniel Lezcano <[email protected]> Acked-by: Peter Kaestle <[email protected]> Reviewed-by: Hans de Goede <[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