public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] vfio: Use dev_printk() when possible
@ 2019-03-30 14:41 Bjorn Helgaas
  2019-03-30 14:41 ` [PATCH 1/1] " Bjorn Helgaas
  0 siblings, 1 reply; 4+ messages in thread
From: Bjorn Helgaas @ 2019-03-30 14:41 UTC (permalink / raw)
  To: Alex Williamson; +Cc: kvm, linux-kernel, Joe Perches, Eric Auger, Bjorn Helgaas

From: Bjorn Helgaas <bhelgaas@google.com>

Use dev_printk() in VFIO when possible.

Changes from v1:
  - Add colons after __func__ names in vfio_platform_amdxgbe.c (thanks,
    Joe).
  - Use the correct struct device * in vfio_platform_amdxgbe.c (thanks,
    Eric).
  - Use pci_printk() when we know we have a PCI device.
  - Add pci_notice_ratelimited() for use in vfio_pci.c.
  - Define dev_fmt in vfio_pci.c to avoid dropping the KBUILD_MODNAME
    prefix when converting from pr_*() to pci_printk().  This also adds
    the prefix to the places that already used dev_printk().
  - Define dev_fmt in vfio_platform_common.c to avoid repeating "VFIO :" in
    messages (this also adds it to a few that didn't use the prefix).

Bjorn Helgaas (1):
  vfio: Use dev_printk() when possible

 drivers/vfio/pci/vfio_pci.c                   | 26 +++++++----------
 drivers/vfio/pci/vfio_pci_config.c            | 28 ++++++++----------
 .../platform/reset/vfio_platform_amdxgbe.c    |  5 ++--
 drivers/vfio/platform/vfio_platform_common.c  | 12 ++++----
 drivers/vfio/vfio.c                           | 29 +++++++++----------
 include/linux/pci.h                           |  3 ++
 6 files changed, 49 insertions(+), 54 deletions(-)

-- 
2.21.0.392.gf8f6787159e-goog

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-23 17:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-30 14:41 [PATCH v2 0/1] vfio: Use dev_printk() when possible Bjorn Helgaas
2019-03-30 14:41 ` [PATCH 1/1] " Bjorn Helgaas
2019-04-02  7:53   ` Auger Eric
2019-04-23 17:35   ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox