* [PATCH 0/5] trivia: Use vsprintf extension %pR
@ 2010-12-13 21:42 Joe Perches
2010-12-13 21:42 ` [PATCH 2/5] parisc: lba_pci: Use vsprintf extension %pR for struct resource Joe Perches
0 siblings, 1 reply; 2+ messages in thread
From: Joe Perches @ 2010-12-13 21:42 UTC (permalink / raw)
To: linux-parisc, linux-fbdev; +Cc: Randy Dunlap, linux-kernel, alsa-devel
Joe Perches (5):
ste_dma40.c: Use vsprintf extension %pR for struct resource
lba_pci.c: Use vsprintf extension %pR for struct resource
samsung.c: Use vsprintf extension %pR for struct resource
mx3fb.c: Use vsprintf extension %pR for struct resource
ml403-ac97cr.c: Use vsprintf extension %pR for struct resource
drivers/dma/ste_dma40.c | 5 ++---
drivers/parisc/lba_pci.c | 13 +++++--------
drivers/serial/samsung.c | 2 +-
drivers/video/mx3fb.c | 3 +--
sound/drivers/ml403-ac97cr.c | 4 ++--
5 files changed, 11 insertions(+), 16 deletions(-)
--
1.7.3.3.398.g0b0cd.dirty
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/5] parisc: lba_pci: Use vsprintf extension %pR for struct resource
2010-12-13 21:42 [PATCH 0/5] trivia: Use vsprintf extension %pR Joe Perches
@ 2010-12-13 21:42 ` Joe Perches
0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2010-12-13 21:42 UTC (permalink / raw)
To: Kyle McMartin, Helge Deller, James E.J. Bottomley
Cc: Randy Dunlap, linux-parisc, linux-kernel
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/parisc/lba_pci.c | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/drivers/parisc/lba_pci.c b/drivers/parisc/lba_pci.c
index 3aeb327..b1b6644 100644
--- a/drivers/parisc/lba_pci.c
+++ b/drivers/parisc/lba_pci.c
@@ -749,24 +749,21 @@ lba_fixup_bus(struct pci_bus *bus)
continue;
if (res->flags & IORESOURCE_IO) {
- DBG("lba_fixup_bus() I/O Ports [%lx/%lx] -> ",
- res->start, res->end);
+ DBG("lba_fixup_bus() I/O Ports [%pR] -> ", res);
res->start |= lba_portbase;
res->end |= lba_portbase;
- DBG("[%lx/%lx]\n", res->start, res->end);
+ DBG("[%pR]\n", res);
} else if (res->flags & IORESOURCE_MEM) {
/*
** Convert PCI (IO_VIEW) addresses to
** processor (PA_VIEW) addresses
*/
- DBG("lba_fixup_bus() MMIO [%lx/%lx] -> ",
- res->start, res->end);
+ DBG("lba_fixup_bus() MMIO [%pR] -> ", res);
res->start = PCI_HOST_ADDR(HBA_DATA(ldev), res->start);
res->end = PCI_HOST_ADDR(HBA_DATA(ldev), res->end);
- DBG("[%lx/%lx]\n", res->start, res->end);
+ DBG("[%pR]\n", res);
} else {
- DBG("lba_fixup_bus() WTF? 0x%lx [%lx/%lx] XXX",
- res->flags, res->start, res->end);
+ DBG("lba_fixup_bus() WTF? [%pR] XXX", res);
}
/*
--
1.7.3.3.398.g0b0cd.dirty
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-13 21:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-13 21:42 [PATCH 0/5] trivia: Use vsprintf extension %pR Joe Perches
2010-12-13 21:42 ` [PATCH 2/5] parisc: lba_pci: Use vsprintf extension %pR for struct resource Joe Perches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox