mbox series

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

Message ID 6cf8979c-c50d-4ef0-b1df-281d932d92b6@omp.ru
Headers show
Series libata: get rid of (almost) all printk() calls | expand

Message

Sergey Shtylyov Nov. 8, 2024, 8:14 p.m. UTC
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/20211221072131.46673-1-hare@suse.de/

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(-)