[PATCH] rxrpc: Use pr_<level> and pr_fmt, reduce object size a few KB
David Miller
davem at davemloft.net
Fri Jun 3 16:41:48 PDT 2016
From: Joe Perches <joe at 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 at perches.com>
Looks good to me, applied, thanks Joe.
More information about the linux-arm-kernel
mailing list