• Joe Perches's avatar
    rxrpc: Use pr_<level> and pr_fmt, reduce object size a few KB · 9b6d5398
    Joe Perches authored
    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: default avatarJoe Perches <joe@perches.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9b6d5398
ar-connevent.c 9.16 KB