]> git.baikalelectronics.ru Git - kernel.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)
commit9c0b6cdd5f99e39127bd0eb760215d6bd6b9d5ab
tree4e13d8289b94fa5c12be2820a0fab78909729e0a
parent92066f5bb31a00f69594eaf1af4026fb2b912041
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