From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH 00/35] treewide trivial patches converting pr_warning to pr_warn Date: Fri, 17 Feb 2017 13:37:33 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "open list:FRAMEBUFFER LAYER" , "linux-ia64@vger.kernel.org" , Linux-sh list , Alexander Shishkin , nouveau@lists.freedesktop.org, "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , dri-devel , virtualization@lists.linux-foundation.org, "linux-ide@vger.kernel.org" , MTD Maling List , sparclinux , Lars Ellenberg , "open list:TARGET SUBSYSTEM" , Richard Weinberger , sfi-devel@simplefirmware.org, amd-gfx@lists.freedesktop.org, ACPI Devel Maling List , tboot-devel@lists.sourceforge.net, oprofil To: "Rafael J. Wysocki" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: linux-crypto.vger.kernel.org Hi Rafael, On Fri, Feb 17, 2017 at 1:27 PM, Rafael J. Wysocki wrote: > On Fri, Feb 17, 2017 at 8:11 AM, Joe Perches 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 -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x244.google.com (mail-oi0-x244.google.com [IPv6:2607:f8b0:4003:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3vPsxD5QfjzDq5x for ; Fri, 17 Feb 2017 23:37:36 +1100 (AEDT) Received: by mail-oi0-x244.google.com with SMTP id u143so3684031oif.3 for ; Fri, 17 Feb 2017 04:37:36 -0800 (PST) MIME-Version: 1.0 Sender: geert.uytterhoeven@gmail.com In-Reply-To: References: From: Geert Uytterhoeven Date: Fri, 17 Feb 2017 13:37:33 +0100 Message-ID: Subject: Re: [PATCH 00/35] treewide trivial patches converting pr_warning to pr_warn To: "Rafael J. Wysocki" Cc: Joe Perches , Alexander Shishkin , Karol Herbst , Pekka Paalanen , Richard Weinberger , Fabio Estevam , Linux Kernel Mailing List , "linux-arm-kernel@lists.infradead.org" , linuxppc-dev , tboot-devel@lists.sourceforge.net, nouveau@lists.freedesktop.org, oprofile-list@lists.sf.net, sfi-devel@simplefirmware.org, xen-devel@lists.xenproject.org, ACPI Devel Maling List , Lars Ellenberg , virtualization@lists.linux-foundation.org, Linux Crypto Mailing List , "linux-ide@vger.kernel.org" , gigaset307x-common@lists.sourceforge.net, Linux Media Mailing List , Linux OMAP Mailing List , MTD Maling List , "devicetree@vger.kernel.org" , acpi4asus-user@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, "open list:TARGET SUBSYSTEM" , "open list:FRAMEBUFFER LAYER" , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , alpha , "adi-buildroot-devel@lists.sourceforge.net" , "linux-ia64@vger.kernel.org" , Linux-sh list , sparclinux , amd-gfx@lists.freedesktop.org, dri-devel , "linux-input@vger.kernel.org" , "netdev@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Rafael, On Fri, Feb 17, 2017 at 1:27 PM, Rafael J. Wysocki wrote: > On Fri, Feb 17, 2017 at 8:11 AM, Joe Perches 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 -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: geert@linux-m68k.org (Geert Uytterhoeven) Date: Fri, 17 Feb 2017 13:37:33 +0100 Subject: [PATCH 00/35] treewide trivial patches converting pr_warning to pr_warn In-Reply-To: References: Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Rafael, On Fri, Feb 17, 2017 at 1:27 PM, Rafael J. Wysocki wrote: > On Fri, Feb 17, 2017 at 8:11 AM, Joe Perches 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 -- geert at 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