• J
    rxrpc: Use pr_<level> and pr_fmt, reduce object size a few KB · 9b6d5398
    Joe Perches 提交于
    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: NJoe Perches <joe@perches.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    9b6d5398
af_rxrpc.c 20.6 KB