diff options
author | Dan Williams <[email protected]> | 2023-12-19 18:15:13 -0800 |
---|---|---|
committer | Ira Weiny <[email protected]> | 2024-01-03 12:21:37 -0800 |
commit | a085a5eb6594a3ebe5c275e9c2c2d341f686c23c (patch) | |
tree | fb52f3ad364fa0bee950fd066a71b4b4f899957e /tools/perf/scripts/python/net_dropmonitor.py | |
parent | fd045e5f99723db573d671d0484543f61dc496f5 (diff) |
acpi/nfit: Use sysfs_emit() for all attributes
sysfs_emit() properly handles the PAGE_SIZE limitation of populating
sysfs attribute buffers. Clean up the deprecated usage of sprintf() in
all of nfit's sysfs show() handlers.
Reported-by: Ben Dooks <[email protected]>
Closes: http://lore.kernel.org/[email protected]
Cc: Alison Schofield <[email protected]>
Cc: Dave Jiang <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Reviewed-by: Alison Schofield <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/170303851337.2238503.5103082574938957743.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Ira Weiny <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions