From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH 00/35] treewide trivial patches converting pr_warning to pr_warn Date: Fri, 17 Feb 2017 13:27:00 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 To: Joe Perches 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, linux-mtd@lists.infradead.org, sparclinux@vger.kernel.org, drbd-dev@lists.linbit.com, "open list:TARGET SUBSYSTEM" , Richard Weinberger , sfi-devel@simplefirmware.org, amd-gfx@lists.freedesktop.org, ACPI Devel Maling List , tboot-devel@lists.sourceforge.net, oprofile-list@lists.sf.net, linux-input@vger.kernel.org, xen-devel@lists.xenproject.or List-Id: virtualization@lists.linuxfoundation.org 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()? Thanks, Rafael