Re: [PATCH 00/35] treewide trivial patches converting pr_warning to pr_warn

From
Geert Uytterhoeven <geert@linux-m68k.org>
Date
2017-02-17 12:37:33
Also in
alsa-devel, amd-gfx, dri-devel, linux-acpi, linux-alpha, linux-arm-kernel, linux-crypto, linux-devicetree, linux-ide, linux-omap, linux-scsi, linuxppc-dev, netdev, nouveau, platform-driver-x86, virtualization
Reply to
Rafael J. Wysocki, 2017-02-17
Hi Rafael,

On Fri, Feb 17, 2017 at 1:27 PM, Rafael J. Wysocki [off-list ref] wrote:
On Fri, Feb 17, 2017 at 8:11 AM, Joe Perches [off-list ref] wrote:
quoted
There are ~4300 uses of pr_warn and ~250 uses of the older
pr_warning in the kernel source tree.

Make the use of pr_warn consistent across all kernel files.

This excludes all files in tools/ as there is a separate
define pr_warning for that directory tree and pr_warn is
not used in tools/.

Done with 'sed s/\bpr_warning\b/pr_warn/' and some emacsing.
Sorry about asking if that has been asked already.

Wouldn't it be slightly less intrusive to simply redefined
pr_warning() as a synonym for pr_warn()?
That's already the case.

This series cleans up the cruft, so we can catch all users with
"git grep -w pr_warn".

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Thread (8 messages) 8 messages, 5 authors, last reply 2017-02-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help