Skip to content

libata: get rid of (almost) all printk() calls

Sergey Shtylyov linux-ide 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ata: acard-ahci: use dev_info() instead of, printk(KERN_INFO)drivers/ata/acard-ahci.c+1 -12 replies
2/6ata: ahci: use dev_info() instead of printk(KERN_INFO)drivers/ata/ahci.c+2 -31 reply
3/6ata: libata-core: use pr_warn() instead of printk(KERN_WARNING)drivers/ata/libata-core.c+3 -51 reply
4/6ata: pata_cs5530: use pr_*() instead of printk(KERN_*)drivers/ata/pata_cs5530.c+3 -31 reply
5/6ata: pata_legacy: use pr_*() instead of printk(KERN_*)drivers/ata/pata_legacy.c+4 -71 reply
6/6ata: pata_optidma: use dev_warn() instead of printk(KERN_WARNING)drivers/ata/pata_optidma.c+1 -11 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchHannes Reinecke
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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

Read the v1 thread

Cover letter [PATCH 0/6] libata: get rid of (almost) all printk() calls

Here are 6 patches against the for-next branch of the LibATA Group's repo.

Hannes Reinecke's large patch series [1] claimed to have moved libata to the structured logging, i.e. using dev_*() calls; however, some printk() calls were left as is. Convert them to dev_*() calls where possible, otherwise convert to pr_*() calls -- this pleases checkpatch.pl at last.

[1] https://lore.kernel.org/all/[email protected]/

Sergey Shtylyov (6):
ata: acard-ahci: use dev_info() instead of printk(KERN_INFO)
ata: ahci: use dev_info() instead of printk(KERN_INFO)
ata: libata-core: use pr_warn() instead of printk(KERN_WARNING)
ata: pata_cs5530: use pr_*() instead of printk(KERN_*)
ata: pata_legacy: use pr_*() instead of printk(KERN_*)
ata: pata_optidma: use dev_warn() instead of printk(KERN_WARNING)

 drivers/ata/acard-ahci.c   |  2 +-
 drivers/ata/ahci.c         |  5 ++---
 drivers/ata/libata-core.c  |  8 +++-----
 drivers/ata/pata_cs5530.c  |  6 +++---
 drivers/ata/pata_legacy.c  | 11 ++++-------
 drivers/ata/pata_optidma.c |  2 +-
 6 files changed, 14 insertions(+), 20 deletions(-)
Signature · 1 line
2.47.0