lkml.org 
[lkml]   [2016]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] acpi: pci_slot: Use more common logging style
Date
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!

\
 
 \ /
  Last update: 2016-06-23 03:01    [W:0.046 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site