diff options
author | Joe Perches <joe@perches.com> | 2016-10-12 14:50:34 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-10-12 15:46:37 -0400 |
commit | abc4b9a53ea8153e0e028762b22cb213685c52e3 (patch) | |
tree | a1888f3ceb010112014d008340fbdf1ea788e2cc /drivers/acpi/bus.c | |
parent | c8d2bc9bc39ebea8437fd974fdbc21847bb897a3 (diff) |
acpi_os_vprintf: Use printk_get_level() to avoid unnecessary KERN_CONT
acpi_os_vprintf currently always uses a KERN_CONT prefix which may be
followed immediately by a proper KERN_<LEVEL>. Check if the buffer
already has a KERN_<LEVEL> at the start of the buffer and avoid the
unnecessary KERN_CONT.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/bus.c')
0 files changed, 0 insertions, 0 deletions