]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Use pr_<level> and pr_fmt, reduce object size a few KB
authorJoe Perches <joe@perches.com>
Thu, 2 Jun 2016 19:08:52 +0000 (12:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Jun 2016 23:41:31 +0000 (19:41 -0400)
commit1ff08dcb05e0c804aabfdc7b5550dcced8c11cd3
tree5aef3e327ab46265ec3536ff5e7c2979ff1b180f
parent5255d2895da8f41fdae85dfd572e70da9f9b5ee2
rxrpc: Use pr_<level> and pr_fmt, reduce object size a few KB

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
net/rxrpc/af_rxrpc.c
net/rxrpc/ar-accept.c
net/rxrpc/ar-ack.c
net/rxrpc/ar-call.c
net/rxrpc/ar-connection.c
net/rxrpc/ar-connevent.c
net/rxrpc/ar-input.c
net/rxrpc/ar-internal.h
net/rxrpc/ar-key.c
net/rxrpc/ar-local.c
net/rxrpc/ar-output.c
net/rxrpc/ar-peer.c
net/rxrpc/ar-recvmsg.c
net/rxrpc/ar-skbuff.c
net/rxrpc/ar-transport.c
net/rxrpc/rxkad.c