Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp914781ybg; Fri, 18 Oct 2019 09:12:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhVZYVkAczefueGfARfWWS+eFZGYEsUmvAC5hcopfT2iCughrlWDjSAjdVfO9eZas5tTrS X-Received: by 2002:a17:906:80cd:: with SMTP id a13mr9631200ejx.12.1571415147530; Fri, 18 Oct 2019 09:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571415147; cv=none; d=google.com; s=arc-20160816; b=UYnG5h7nEp6F+61UL/RpSXhIW90HLGwp/V17HU4RM9tLJa7Lc0ePZQB48aO2V8Ghqs NZUNNXJ1ugkGZaTtXz8JJRQ1l9xZYfwyMJ4ZNA6ID93Fih2EOWgJezQ1wfFK4IGQaECk hxGk0UQZX9gBcXQhtFwpOXIPnOG4PuzKvYlyWnq2xsvhvg8r0BTqtQG6LQL3+qZ5fm2b X7gGbCuTMFuAdEVBNDzen5tp0vtvRwFoSLs3ITo14h+ad8mJzwqq/ZrAyNL6yDmEdYLu iGsaMJwyC7p/jt0jbv1waKTJH00FV/gwdPx2UGctCZouWiBNYJEARWhQ6ruIDB0GDuM3 +XOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WiTenAv0ji//IQR6pIMV/inBuhhQd8YzkQAsTtTZTHA=; b=Pni5gkiz4XRJzI8w8UelL8C/QcIPMvC+xe0THCHXzszzshxapVq8+gqTEBAgmXa+MV YY378l7b+HH7SFk5N+5DZFPNX7lQ2dhags6w5DFb5h8YqSrGtELsWCWQFLTu+gUvF7HH PAc5AnLJJAQsX6KS6EpEClWbImw3JhvfYnnBQW8sfSsGhJn70wdG2VtXNFVoTK1QRCN3 KA0ePPqdj8cNGQLu88lZBZpTc4nIOQY6KvsT71DQ9OGoCuyF73JMqlkKR5CZYUdjrkpr ohUo8jdG6A3v2GMXKB6DgN83txhdpXdT9s8r24CnGpPdukTNoXSFeKeVsFB/WPfU7FaC 2wiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8si4391162edc.231.2019.10.18.09.12.04; Fri, 18 Oct 2019 09:12:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436950AbfJQNwd (ORCPT + 99 others); Thu, 17 Oct 2019 09:52:33 -0400 Received: from mx2.suse.de ([195.135.220.15]:40326 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730412AbfJQNwc (ORCPT ); Thu, 17 Oct 2019 09:52:32 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id E0412B50D; Thu, 17 Oct 2019 13:52:30 +0000 (UTC) Date: Thu, 17 Oct 2019 15:52:29 +0200 From: Petr Mladek To: Kefeng Wang Cc: Arnd Bergmann , Andy Whitcroft , "DavidS. Miller" , Sergey Senozhatsky , Peter Zijlstra , Daniel Borkmann , AlexeiStarovoitov , Andrew Morton , Linus Torvalds , GregKroah-Hartman , Joe Perches , ArnaldoCarvalho de Melo , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/32] Kill pr_warning in the whole linux code Message-ID: <20191017135229.a4mvcyap6l34m5bk@pathway.suse.cz> References: <20190920062544.180997-1-wangkefeng.wang@huawei.com> <20191002085554.ddvx6yx6nx7tdeey@pathway.suse.cz> <20191017130550.nwswlnwdroyjwwun@pathway.suse.cz> <21f6322c-1c2b-f857-2e6e-e1c6aa45dd2d@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21f6322c-1c2b-f857-2e6e-e1c6aa45dd2d@huawei.com> User-Agent: NeoMutt/20170912 (1.9.0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 2019-10-17 21:29:55, Kefeng Wang wrote: > > > On 2019/10/17 21:05, Petr Mladek wrote: > > On Tue 2019-10-08 14:39:32, Kefeng Wang wrote: > >> Hi all, > >> > >> On 2019/10/2 16:55, Petr Mladek wrote: > >>> Linus, > >>> > >>> On Fri 2019-09-20 14:25:12, Kefeng Wang wrote: > >>>> There are pr_warning and pr_warng to show WARNING level message, > >>>> most of the code using pr_warn, number based on next-20190919, > >>>> > >>>> pr_warn: 5189 pr_warning: 546 (tools: 398, others: 148) > >>> > >>> The ratio is 10:1 in favor of pr_warn(). It would make sense > >>> to remove the pr_warning(). > >>> > >>> Would you accept pull request with these 32 simple patches > >>> for rc2, please? > >>> > >>> Alternative is to run a simple sed. But it is not trivial > >>> to fix indentation of the related lines. > >> > >> Kindly ping, should I respin patches with comments fixed? > >> Is the patchset acceptable, hope to be clear that what to do next :) > > > > I am going to check how many conflicts appeared in linux-next. > > > > If there are only few then I'll take it via printk.git. This way > > we get proper indentation and other changes. > > There are some conflicts(not too much), and I have already rebased > on next-20191017 with comment fixed, added Reviewed-by/Acked-by. > I could resend them ASAP if necessary. OK, resend them, please. > > If there are too many conflicts then I'll ask Linus to do a mass > > change using a script. > > For tools parts(api/bpf/perf, patch [29-31]), it renames pr_warning > to pr_warn, and make manually changes in some place, simply 'sed' > maybe not enough. Yup. Best Regards, Petr