Skip to content

pktdvd: Clean up the driver

Andy Shevchenko linux-block lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 5 repliesApplied
  2. v19 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- added tags (Greg)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/9pktcdvd: Get rid of custom printing macrosdrivers/block/pktcdvd.c include/linux/pktcdvd.h include/uapi/linux/pktcdvd.h+130 -1190 replies
2/9pktcdvd: replace sscanf() by kstrtoul()drivers/block/pktcdvd.c+18 -160 replies
3/9pktcdvd: use sysfs_emit() to instead of scnprintf()drivers/block/pktcdvd.c+1 -10 replies
4/9pktcdvd: Get rid of pkt_seq_show() forward declarationdrivers/block/pktcdvd.c+75 -760 replies
5/9pktcdvd: Drop redundant castings for sector_tdrivers/block/pktcdvd.c+10 -160 replies
6/9pktcdvd: Use DEFINE_SHOW_ATTRIBUTE() to simplify codedrivers/block/pktcdvd.c+3 -200 replies
7/9pktcdvd: Use put_unaligned_be16() and get_unaligned_be16()drivers/block/pktcdvd.c+14 -170 replies
8/9pktcdvd: Get rid of redundant 'else'drivers/block/pktcdvd.c+7 -70 replies
9/9pktcdvd: Sort headersdrivers/block/pktcdvd.c+16 -150 replies

Reviews trailers per patch

7 of 9 patches have a Reviewed-by or Acked-by.

PatchGreg Kroah-Hartman
1/9R-b
2/9
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/9] pktdvd: Clean up the driver

Some cleanups to the recently resurrected driver.

v2:
- added tags (Greg)

Andy Shevchenko (9):
pktcdvd: Get rid of custom printing macros
pktcdvd: replace sscanf() by kstrtoul()
pktcdvd: use sysfs_emit() to instead of scnprintf()
pktcdvd: Get rid of pkt_seq_show() forward declaration
pktcdvd: Drop redundant castings for sector_t
pktcdvd: Use DEFINE_SHOW_ATTRIBUTE() to simplify code
pktcdvd: Use put_unaligned_be16() and get_unaligned_be16()
pktcdvd: Get rid of redundant 'else'
pktcdvd: Sort headers

 drivers/block/pktcdvd.c      | 525 +++++++++++++++++------------------
 include/linux/pktcdvd.h      |   1 -
 include/uapi/linux/pktcdvd.h |   1 +
 3 files changed, 257 insertions(+), 270 deletions(-)
Signature · 1 line
2.39.1