summaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-13 19:44:20 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-01-25 18:27:02 +0100
commitc9d967b2ce40d71e968eb839f36c936b8a9cf1ea (patch)
treed512366764e954e24966fd7faaae306d6bf23d49 /fs/namespace.c
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
downloadlinux-c9d967b2ce40d71e968eb839f36c936b8a9cf1ea.tar.bz2
PM: wakeup: simplify the output logic of pm_show_wakelocks()
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. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions