projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/atm/iphase.c
b/drivers/atm/iphase.c
index e1c7611e9144cdcd0d6b50d0acf284da77a0a4d7..78c9736c3579beba974dc546cbd4bfbe8298bcf4 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;
}