]> git.karo-electronics.de Git - mv-sheeva.git/commit
n_gsm: Use print_hex_dump_bytes
authorJoe Perches <joe@perches.com>
Mon, 25 Apr 2011 23:46:49 +0000 (16:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 29 Apr 2011 21:17:46 +0000 (14:17 -0700)
commit0a77c4f9d451a6652f5536548df1b75f4b5b836c
tree4e13d8289b94fa5c12be2820a0fab78909729e0a
parentdf43daaae926c3710eda911ec048808c904572fe
n_gsm: Use print_hex_dump_bytes

Use the standard mechanism to print a hex buffer
to eliminate empty printf warning.

A couple % smaller text and data too.

$ size drivers/tty/n_gsm.o*
   text    data     bss     dec     hex filename
  23543     312    6376   30231    7617 drivers/tty/n_gsm.o.new
  24051     408    6496   30955    78eb drivers/tty/n_gsm.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/n_gsm.c