summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-13 19:44:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-03 09:27:52 +0100
commit6acce03f2dcb38acec7fb2556d57d6dffb2bd7d5 (patch)
treea4bab099aa4e2f0019d391701681a1369408c1ad /kernel/bpf/arraymap.c
parent0f28e1a57baf48a583093e350ea2bd3e4c09b8ea (diff)
PM: wakeup: simplify the output logic of pm_show_wakelocks()
commit c9d967b2ce40d71e968eb839f36c936b8a9cf1ea upstream. The buffer handling in pm_show_wakelocks() is tricky, and hopefully correct. Ensure it really is correct by using sysfs_emit_at() which handles all of the tricky string handling logic in a PAGE_SIZE buffer for us automatically as this is a sysfs file being read from. Reviewed-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions