diff options
author | Vishal Verma <[email protected]> | 2024-01-24 12:03:47 -0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-02-22 10:24:40 -0800 |
commit | 6ebed0007f082cd80a63a8849c54e7cad0069469 (patch) | |
tree | 9f63438c8b1ad4376cbfcb0904ba6da76a16265c /include/linux/fpga/fpga-mgr.h | |
parent | c05ae9d85b47211edb187b854b62ec68fb2a1e93 (diff) |
dax/bus.c: replace several sprintf() with sysfs_emit()
There were several places where drivers/dax/bus.c uses 'sprintf' to print
sysfs data. Since a sysfs_emit() helper is available specifically for
this purpose, replace all the sprintf() usage for sysfs with sysfs_emit()
in this file.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Vishal Verma <[email protected]>
Reported-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Alison Schofield <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Dave Jiang <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Huang Ying <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Li Zhijian <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Oscar Salvador <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions