Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-03

[PATCH] rxrpc: Use pr_<level> and pr_fmt, reduce object size a few KB

From: davem@davemloft.net (David Miller)
Date: 2016-06-03 23:41:53
Also in: lkml, netdev

From: Joe Perches <joe@perches.com>
Date: Thu,  2 Jun 2016 12:08:52 -0700
Use the more common kernel logging style and reduce object size.

The logging message prefix changes from a mixture of
"RxRPC:" and "RXRPC:" to "af_rxrpc: ".

$ size net/rxrpc/built-in.o*
   text	   data	    bss	    dec	    hex	filename
  64172	   1972	   8304	  74448	  122d0	net/rxrpc/built-in.o.new
  67512	   1972	   8304	  77788	  12fdc	net/rxrpc/built-in.o.old

Miscellanea:

o Consolidate the ASSERT macros to use a single pr_err call with
  decimal and hexadecimal output and a stringified #OP argument

Signed-off-by: Joe Perches <joe@perches.com>
Looks good to me, applied, thanks Joe.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help