block: sysfs cleanup for deprecated API usage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 0 repliesNew
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] block: sysfs cleanup for deprecated API usage
From: Jackie Liu <[email protected]>
A set of straightforward cleanups across the block layer sysfs interfaces:
Patches 1-7 convert remaining sprintf()/snprintf() calls in sysfs show functions to sysfs_emit()/sysfs_emit_at().
Patches 8-10 replace deprecated sscanf()/simple_strtoul() with kstrtol()/kstrtoint() in sysfs store functions.
Jackie Liu (10):
block: convert to sysfs_emit() in blk_ia_range show()
block: convert blk-mq hw sysfs show to sysfs_emit/sysfs_emit_at
block: convert disk events sysfs show to sysfs_emit/sysfs_emit_at
block: convert partition sysfs show to sysfs_emit()
block: convert part_timeout_show() to sysfs_emit()
block: convert kyber latency show to sysfs_emit()
block: convert bfq_var_show() to sysfs_emit()
block: use kstrtol() instead of sscanf() in
disk_events_poll_msecs_store()
block: replace simple_strtoul() with kstrtoint() in
part_timeout_store()
block: replace sscanf() with kstrtoint() in part_fail_store()
block/bfq-iosched.c | 2 +- block/blk-ia-ranges.c | 4 ++-- block/blk-mq-sysfs.c | 19 ++++++++++--------- block/blk-timeout.c | 18 ++++++++---------- block/disk-events.c | 12 ++++++------ block/genhd.c | 16 +++++++++------- block/kyber-iosched.c | 2 +- block/partitions/core.c | 10 +++++----- 8 files changed, 42 insertions(+), 41 deletions(-)
Signature · 1 line
2.51.1