All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 8/8] irda: follow lspci device/vendor style
@ 2008-09-22 21:50 akpm
  2008-09-23  2:20 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2008-09-22 21:50 UTC (permalink / raw)
  To: davem; +Cc: netdev, akpm, bjorn.helgaas, samuel

From: Bjorn Helgaas <bjorn.helgaas@hp.com>

Use "[%04x:%04x]" for PCI vendor/device IDs to follow the format used by
lspci(8).

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/irda/vlsi_ir.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/irda/vlsi_ir.c~irda-follow-lspci-device-vendor-style drivers/net/irda/vlsi_ir.c
--- a/drivers/net/irda/vlsi_ir.c~irda-follow-lspci-device-vendor-style
+++ a/drivers/net/irda/vlsi_ir.c
@@ -165,7 +165,7 @@ static void vlsi_proc_pdev(struct seq_fi
 	unsigned iobase = pci_resource_start(pdev, 0);
 	unsigned i;
 
-	seq_printf(seq, "\n%s (vid/did: %04x/%04x)\n",
+	seq_printf(seq, "\n%s (vid/did: [%04x:%04x])\n",
 		   pci_name(pdev), (int)pdev->vendor, (int)pdev->device);
 	seq_printf(seq, "pci-power-state: %u\n", (unsigned) pdev->current_state);
 	seq_printf(seq, "resources: irq=%u / io=0x%04x / dma_mask=0x%016Lx\n",
_

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

* Re: [patch 8/8] irda: follow lspci device/vendor style
  2008-09-22 21:50 [patch 8/8] irda: follow lspci device/vendor style akpm
@ 2008-09-23  2:20 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-09-23  2:20 UTC (permalink / raw)
  To: akpm; +Cc: netdev, bjorn.helgaas, samuel

From: akpm@linux-foundation.org
Date: Mon, 22 Sep 2008 14:50:43 -0700

> From: Bjorn Helgaas <bjorn.helgaas@hp.com>
> 
> Use "[%04x:%04x]" for PCI vendor/device IDs to follow the format used by
> lspci(8).
> 
> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Applied to net-next-2.6, thanks.

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

end of thread, other threads:[~2008-09-23  2:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22 21:50 [patch 8/8] irda: follow lspci device/vendor style akpm
2008-09-23  2:20 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.