Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1771844ybg; Sat, 19 Oct 2019 02:10:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyX3SvqRfUk6SDl7iiZx6f2ssG5a3zD+AjpbY3qob2M+gJn1ae1bdzrPdzvwLSh7PrV9DbU X-Received: by 2002:a50:b6f8:: with SMTP id f53mr595402ede.29.1571476240535; Sat, 19 Oct 2019 02:10:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571476240; cv=none; d=google.com; s=arc-20160816; b=QbadtwZ3vr7u5zKcs3vset8x45pi6JCA8/fWUFwXRl7AyYFm02g6AYCujqJls1ua/P qFUx3CVvlaKpNMJ6Q4O9UNVsd5vHApeZ295IKE6UeD+ENINXT1jwShosQC0yA5Xb9bMp ytCRssywinaDwnBWnemXHRgtuWsLZx9TuqlEAmeDSVRYMGe2uco9db3F8tJKH46kqahq JBAbdSfY8N7rBsxTYeAkDloDZIgXhD9syd2k7k22kOk3apefbbqwXe/m45oDKXDgEZuZ VJvjAXLImV+0aKwBp0WOKyYNRavOYeTco/lV8BkVjkUOkqy1cjOafJtwj4/Gj9nceY8V shwg== 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=WZKSnINYPhbxAIk25QLoc84ZM9NZL+cis44bxTVRC7M=; b=AZNw8Z/YlHvjrRd8XApNDH0P0PLW7hPU6zH6PxtUDlXT8hVijkSXMBcAZA6f78wO7C EV2KC/gx1D7G+RqWRzFap3TAlcyKWZCahCgbmTWeCwRxpG+/4tuA6qyt2Xtk2ZBoOu54 sKWypEUH5hapyxW3I50XMHnIBY+zyIgu6nNN3bKEClSWQhs+kgSY+Z9UwprYNnTtMBK6 Qoc6yKyTpHXf3EaFMC0BoCMm1osYl2gJstDzhLRGlJ7oLno84GhwJBUrJKY31axRMa26 GK15SOue4TnQ5SPzRYMS87q1EM0nxi23KQp3zFGGiLkqezVMCF25dg3J7V9+F0jLQuXP WoLw== 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 b9si5438369eda.129.2019.10.19.02.10.14; Sat, 19 Oct 2019 02:10:40 -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 S2443147AbfJRSw0 (ORCPT + 99 others); Fri, 18 Oct 2019 14:52:26 -0400 Received: from www62.your-server.de ([213.133.104.62]:56792 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726421AbfJRSw0 (ORCPT ); Fri, 18 Oct 2019 14:52:26 -0400 Received: from 55.249.197.178.dynamic.dsl-lte-bonding.lssmb00p-msn.res.cust.swisscom.ch ([178.197.249.55] helo=localhost) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1iLXML-0004R5-9H; Fri, 18 Oct 2019 20:52:21 +0200 Date: Fri, 18 Oct 2019 20:52:20 +0200 From: Daniel Borkmann To: Petr Mladek Cc: Alexei Starovoitov , Kefeng Wang , linux-kernel@vger.kernel.org, Alexei Starovoitov , Martin KaFai Lau , Song Liu , Yonghong Song , bpf@vger.kernel.org, Andrii Nakryiko , Sergey Senozhatsky Subject: Re: [PATCH v2 31/33] tools lib bpf: Renaming pr_warning to pr_warn Message-ID: <20191018185220.GE26267@pc-63.home> References: <20191018031710.41052-1-wangkefeng.wang@huawei.com> <20191018031850.48498-1-wangkefeng.wang@huawei.com> <20191018031850.48498-31-wangkefeng.wang@huawei.com> <20191018042416.r4fffxzbxb3u4csg@ast-mbp> <20191018070457.ge3wcpdle6pwtsxd@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191018070457.ge3wcpdle6pwtsxd@pathway.suse.cz> User-Agent: Mutt/1.12.1 (2019-06-15) X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.101.4/25606/Fri Oct 18 10:58:40 2019) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 18, 2019 at 09:04:57AM +0200, Petr Mladek wrote: > On Thu 2019-10-17 21:24:19, Alexei Starovoitov wrote: > > On Fri, Oct 18, 2019 at 11:18:48AM +0800, Kefeng Wang wrote: > > > For kernel logging macro, pr_warning is completely removed and > > > replaced by pr_warn, using pr_warn in tools lib bpf for symmetry > > > to kernel logging macro, then we could drop pr_warning in the > > > whole linux code. > > > > > > Cc: Alexei Starovoitov > > > Cc: Daniel Borkmann > > > Cc: Martin KaFai Lau > > > Cc: Song Liu > > > Cc: Yonghong Song > > > Cc: bpf@vger.kernel.org > > > Acked-by: Andrii Nakryiko > > > Reviewed-by: Sergey Senozhatsky > > > Signed-off-by: Kefeng Wang > > > --- > > > tools/lib/bpf/btf.c | 56 +-- > > > tools/lib/bpf/btf_dump.c | 18 +- > > > tools/lib/bpf/libbpf.c | 679 ++++++++++++++++---------------- > > > tools/lib/bpf/libbpf_internal.h | 8 +- > > > tools/lib/bpf/xsk.c | 4 +- > > > 5 files changed, 379 insertions(+), 386 deletions(-) > > > > Nack. > > I prefer this type of renaming to go via bpf tree. > > It's not a kernel patch. It's touching user space library > > which is under heavy development. > > Doing any other way will cause a ton of conflicts. > > Fair enough. I'll ignore this patch. Could I assume that it will > be taken via bpf tree, please? > > I'll also postpone the patch that removes pr_warning() to avoid > synchronization problems. I'll push it later when changes in > bpf[*] subsystem are merged. > > [*] I am going to check conflicts against 5.4-rc1. I'll probably > ask more subsystems to take their changes to avoid conflicts > and make it smooth. The stand-alone patch as-is currently doesn't apply to bpf-next. Could you spin a fresh rebase and resubmit? Thanks, Daniel