Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1429361

Re: [PATCH] acpi: pci_slot: Use more common logging style

From "Rafael J. Wysocki" <rjw@rjwysocki.net>
Newsgroups linux.kernel
Subject Re: [PATCH] acpi: pci_slot: Use more common logging style
Date 2016-06-23 02:30 +0200
Message-ID <rN0GS-2fs-9@gated-at.bofh.it> (permalink)
References <rDsuJ-5E6-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Friday, May 27, 2016 09:00:28 AM Joe Perches wrote:
> Use generic pr_<level> functions with pr_fmt for info and err.
> 
> This also reduces object size a trivial bit:
> 
> $ size drivers/acpi/pci_slot.o*
>    text	   data	    bss	    dec	    hex	filename
>     935	    752	      5	   1692	    69c	drivers/acpi/pci_slot.o.new
>    1027	    752	      5	   1784	    6f8	drivers/acpi/pci_slot.o.old
> 
> Miscellanea:
> 
> o Remove unnecessary OOM message as k.alloc functions get a generic
>   stack dump on OOM
> o Remove unnecessary embedded prefix from a dbg() message
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Applied, thanks!

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] acpi: pci_slot: Use more common logging style "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-06-23 02:30 +0200

csiph-web