atm: fix non-const printk argument
Subsystems (3)
PATCH 1/1 atm: fix non-const printk argument
Change printk() argument to fix compiler warning.
Signed-off-by Stephen Hemminger <[email protected]>
drivers/atm/iphase.c +1 -3
@@ -977,9 +977,7 @@ static void xdump( u_char* cp, int lenelse pBuf +=sprintf ( pBuf,"." ); } -sprintf ( pBuf,"\n" ); -// SPrint(prntBuf); -printk (prntBuf); +printk ("%s\n" , prntBuf); count += col; pBuf = prntBuf; }
From: Stephen Hemminger <[email protected]>
Date: Fri, 20 Mar 2009 09:44:02 -0700
Quoted 3 lines
Change
printk()argument to fix compiler warning.Signed-off-by Stephen Hemminger <[email protected]>
Applied.