From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933925AbdBQM1K (ORCPT ); Fri, 17 Feb 2017 07:27:10 -0500 Received: from mail-oi0-f68.google.com ([209.85.218.68]:32923 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932941AbdBQM1C (ORCPT ); Fri, 17 Feb 2017 07:27:02 -0500 MIME-Version: 1.0 In-Reply-To: References: From: "Rafael J. Wysocki" Date: Fri, 17 Feb 2017 13:27:00 +0100 X-Google-Sender-Auth: 94eZJOwjCYgpyu7tNnb7dnYE23I Message-ID: Subject: Re: [PATCH 00/35] treewide trivial patches converting pr_warning to pr_warn To: Joe Perches Cc: 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 , drbd-dev@lists.linbit.com, virtualization@lists.linux-foundation.org, linux-crypto@vger.kernel.org, linux-ide@vger.kernel.org, gigaset307x-common@lists.sourceforge.net, linux-media@vger.kernel.org, Linux OMAP Mailing List , linux-mtd@lists.infradead.org, "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..." , linux-alpha@vger.kernel.org, adi-buildroot-devel@lists.sourceforge.net, "linux-ia64@vger.kernel.org" , Linux-sh list , sparclinux@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel , linux-input@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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