Re: [PATCH] acpi: pci_slot: Use more common logging style
From: Rafael J. Wysocki <hidden>
Date: 2016-06-23 00:28:39
Also in:
lkml
From: Rafael J. Wysocki <hidden>
Date: 2016-06-23 00:28:39
Also in:
lkml
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!