* [PATCH] pci: Fix printf format for regions
@ 2021-10-08 15:01 Pali Rohár
2021-10-08 15:50 ` Stefan Roese
2021-10-15 11:52 ` Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Pali Rohár @ 2021-10-08 15:01 UTC (permalink / raw)
To: Simon Glass, Stefan Roese; +Cc: u-boot
Correct printf format for unsigned long long is %llx and not %llxx.
Signed-off-by: Pali Rohár <pali@kernel.org>
---
drivers/pci/pci_auto_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/pci_auto_common.c b/drivers/pci/pci_auto_common.c
index 5e7f3dbd10b5..b9a4aef1ecf8 100644
--- a/drivers/pci/pci_auto_common.c
+++ b/drivers/pci/pci_auto_common.c
@@ -76,7 +76,7 @@ static void pciauto_show_region(const char *name, struct pci_region *region)
{
pciauto_region_init(region);
debug("PCI Autoconfig: Bus %s region: [%llx-%llx],\n"
- "\t\tPhysical Memory [%llx-%llxx]\n", name,
+ "\t\tPhysical Memory [%llx-%llx]\n", name,
(unsigned long long)region->bus_start,
(unsigned long long)(region->bus_start + region->size - 1),
(unsigned long long)region->phys_start,
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] pci: Fix printf format for regions
2021-10-08 15:01 [PATCH] pci: Fix printf format for regions Pali Rohár
@ 2021-10-08 15:50 ` Stefan Roese
2021-10-15 11:52 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2021-10-08 15:50 UTC (permalink / raw)
To: Pali Rohár, Simon Glass; +Cc: u-boot
On 08.10.21 17:01, Pali Rohár wrote:
> Correct printf format for unsigned long long is %llx and not %llxx.
>
> Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Thanks,
Stefan
> ---
> drivers/pci/pci_auto_common.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pci/pci_auto_common.c b/drivers/pci/pci_auto_common.c
> index 5e7f3dbd10b5..b9a4aef1ecf8 100644
> --- a/drivers/pci/pci_auto_common.c
> +++ b/drivers/pci/pci_auto_common.c
> @@ -76,7 +76,7 @@ static void pciauto_show_region(const char *name, struct pci_region *region)
> {
> pciauto_region_init(region);
> debug("PCI Autoconfig: Bus %s region: [%llx-%llx],\n"
> - "\t\tPhysical Memory [%llx-%llxx]\n", name,
> + "\t\tPhysical Memory [%llx-%llx]\n", name,
> (unsigned long long)region->bus_start,
> (unsigned long long)(region->bus_start + region->size - 1),
> (unsigned long long)region->phys_start,
>
Viele Grüße,
Stefan
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] pci: Fix printf format for regions
2021-10-08 15:01 [PATCH] pci: Fix printf format for regions Pali Rohár
2021-10-08 15:50 ` Stefan Roese
@ 2021-10-15 11:52 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2021-10-15 11:52 UTC (permalink / raw)
To: Pali Rohár; +Cc: Simon Glass, Stefan Roese, u-boot
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
On Fri, Oct 08, 2021 at 05:01:24PM +0200, Pali Rohár wrote:
> Correct printf format for unsigned long long is %llx and not %llxx.
>
> Signed-off-by: Pali Rohár <pali@kernel.org>
> Reviewed-by: Stefan Roese <sr@denx.de>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-15 11:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08 15:01 [PATCH] pci: Fix printf format for regions Pali Rohár
2021-10-08 15:50 ` Stefan Roese
2021-10-15 11:52 ` Tom Rini
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.