projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa665cc
)
atm: fix non-const printk argument
author
Stephen Hemminger
<shemminger@vyatta.com>
Fri, 20 Mar 2009 06:44:02 +0000
(06:44 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 22 Mar 2009 02:06:51 +0000
(19:06 -0700)
Change printk() argument to fix compiler warning.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/iphase.c
patch
|
blob
|
history
diff --git
a/drivers/atm/iphase.c
b/drivers/atm/iphase.c
index
e1c7611
..
78c9736
100644
(file)
--- a/
drivers/atm/iphase.c
+++ b/
drivers/atm/iphase.c
@@
-977,9
+977,7
@@
static void xdump( u_char* cp, int length, char* prefix )
else
pBuf += sprintf( pBuf, "." );
}
- sprintf( pBuf, "\n" );
- // SPrint(prntBuf);
- printk(prntBuf);
+ printk("%s\n", prntBuf);
count += col;
pBuf = prntBuf;
}