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

Geert Uytterhoeven <[email protected]>
Newsgroups gmane.linux.kernel.virtualization,gmane.linux.ports.ia64,gmane.linux.ports.sh.devel,gmane.comp.freedesktop.xorg.nouveau,gmane.linux.alsa.devel,gmane.comp.video.dri.devel,gmane.linux.ide,gmane.linux.drivers.mtd,gmane.linux.ports.sparc,gmane.linux.kernel.drbd.devel,gmane.linux.scsi,gmane.comp.freedesktop.amd-gfx,gmane.linux.acpi.devel,gmane.comp.boot-loaders.tboot.devel,gmane.linux.oprofile,gmane.linux.kernel.input,gmane.linux.drivers.video-input-infrastructure,gmane.linux.drivers.platform.x86.devel,gmane.linux.drivers.devicetree,gmane.linux.acpi.acpi4asus.user,gmane.linux.ports.arm.omap,gmane.linux.ports.arm.kernel,gmane.linux.network,gmane.linux.kernel,gmane.linux.kernel.cryptoapi,gmane.linux.ports.alpha,gmane.linux.ports.ppc64.devel
Message-ID <CAMuHMdWsG0DboaLqXag53Vejwvc5PPY2k2gy9PSdHWbNEx6nRQ@mail.gmail.com>
Hi Rafael,

On Fri, Feb 17, 2017 at 1:27 PM, Rafael J. Wysocki <[email protected]> wrote:
> On Fri, Feb 17, 2017 at 8:11 AM, Joe Perches <[email protected]> wrote:
>> 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 -- [email protected]

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.