* [PATCH 02/19] drivers: atm: fix %d confusingly prefixed with 0x in format strings
@ 2014-08-04 0:18 Hans Wennborg
2014-08-04 11:16 ` chas williams - CONTRACTOR
2014-08-05 20:05 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Hans Wennborg @ 2014-08-04 0:18 UTC (permalink / raw)
To: chas, netdev, linux-kernel; +Cc: Hans Wennborg
Signed-off-by: Hans Wennborg <hans@hanshq.net>
---
drivers/atm/eni.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c
index b1955ba..d65975a 100644
--- a/drivers/atm/eni.c
+++ b/drivers/atm/eni.c
@@ -2155,7 +2155,7 @@ static int eni_proc_read(struct atm_dev *dev,loff_t *pos,char *page)
if (!tx->send) continue;
if (!--left) {
- return sprintf(page,"tx[%d]: 0x%ld-0x%ld "
+ return sprintf(page, "tx[%d]: 0x%lx-0x%lx "
"(%6ld bytes), rsv %d cps, shp %d cps%s\n",i,
(unsigned long) (tx->send - eni_dev->ram),
tx->send-eni_dev->ram+tx->words*4-1,tx->words*4,
@@ -2181,7 +2181,7 @@ static int eni_proc_read(struct atm_dev *dev,loff_t *pos,char *page)
if (--left) continue;
length = sprintf(page,"vcc %4d: ",vcc->vci);
if (eni_vcc->rx) {
- length += sprintf(page+length,"0x%ld-0x%ld "
+ length += sprintf(page+length, "0x%lx-0x%lx "
"(%6ld bytes)",
(unsigned long) (eni_vcc->recv - eni_dev->ram),
eni_vcc->recv-eni_dev->ram+eni_vcc->words*4-1,
--
2.0.0.526.g5318336
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 02/19] drivers: atm: fix %d confusingly prefixed with 0x in format strings
2014-08-04 0:18 [PATCH 02/19] drivers: atm: fix %d confusingly prefixed with 0x in format strings Hans Wennborg
@ 2014-08-04 11:16 ` chas williams - CONTRACTOR
2014-08-05 20:05 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: chas williams - CONTRACTOR @ 2014-08-04 11:16 UTC (permalink / raw)
To: Hans Wennborg; +Cc: netdev, linux-kernel
Acked-by: Chas Williams <chas@cmf.nrl.navy.mil>
On Sun, 3 Aug 2014 17:18:20 -0700
Hans Wennborg <hans@hanshq.net> wrote:
> Signed-off-by: Hans Wennborg <hans@hanshq.net>
> ---
> drivers/atm/eni.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c
> index b1955ba..d65975a 100644
> --- a/drivers/atm/eni.c
> +++ b/drivers/atm/eni.c
> @@ -2155,7 +2155,7 @@ static int eni_proc_read(struct atm_dev *dev,loff_t *pos,char *page)
>
> if (!tx->send) continue;
> if (!--left) {
> - return sprintf(page,"tx[%d]: 0x%ld-0x%ld "
> + return sprintf(page, "tx[%d]: 0x%lx-0x%lx "
> "(%6ld bytes), rsv %d cps, shp %d cps%s\n",i,
> (unsigned long) (tx->send - eni_dev->ram),
> tx->send-eni_dev->ram+tx->words*4-1,tx->words*4,
> @@ -2181,7 +2181,7 @@ static int eni_proc_read(struct atm_dev *dev,loff_t *pos,char *page)
> if (--left) continue;
> length = sprintf(page,"vcc %4d: ",vcc->vci);
> if (eni_vcc->rx) {
> - length += sprintf(page+length,"0x%ld-0x%ld "
> + length += sprintf(page+length, "0x%lx-0x%lx "
> "(%6ld bytes)",
> (unsigned long) (eni_vcc->recv - eni_dev->ram),
> eni_vcc->recv-eni_dev->ram+eni_vcc->words*4-1,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 02/19] drivers: atm: fix %d confusingly prefixed with 0x in format strings
2014-08-04 0:18 [PATCH 02/19] drivers: atm: fix %d confusingly prefixed with 0x in format strings Hans Wennborg
2014-08-04 11:16 ` chas williams - CONTRACTOR
@ 2014-08-05 20:05 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2014-08-05 20:05 UTC (permalink / raw)
To: hans; +Cc: chas, netdev, linux-kernel
From: Hans Wennborg <hans@hanshq.net>
Date: Sun, 3 Aug 2014 17:18:20 -0700
> Signed-off-by: Hans Wennborg <hans@hanshq.net>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-05 20:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-04 0:18 [PATCH 02/19] drivers: atm: fix %d confusingly prefixed with 0x in format strings Hans Wennborg
2014-08-04 11:16 ` chas williams - CONTRACTOR
2014-08-05 20:05 ` 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.