aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2024-10-16 11:24:57 +0000
committerRafael J. Wysocki <[email protected]>2024-10-24 15:15:06 +0000
commitca70d55ab0aa4510618ebf6bc5f5da5dd33736d5 (patch)
tree534a353e21de9e61998afcd9252aa383e1703bb5 /security/selinux/hooks.c
parentthermal: core: Rename trip list node in struct thermal_trip_desc (diff)
downloadkernel-ca70d55ab0aa4510618ebf6bc5f5da5dd33736d5.tar.gz
kernel-ca70d55ab0aa4510618ebf6bc5f5da5dd33736d5.zip
thermal: core: Prepare for moving trips between sorted lists
Subsequently, trips will be moved between sorted lists in multiple places, so replace add_trip_to_sorted_list() with an analogous function, move_trip_to_sorted_list(), that will move a given trip to a given sorted list. To allow list_del() used in the new function to work, initialize the list_node fields in trip descriptors where applicable so they are always valid. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Lukasz Luba <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions