Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1356162ybg; Fri, 18 Oct 2019 16:36:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCL04RoCo2Gk3qJcldYkSVAhfldUJmkiTXqxH/czWLcJgYw4pfVBgTUS4tP1pQEveBpazM X-Received: by 2002:a17:906:7e17:: with SMTP id e23mr11493394ejr.205.1571441819041; Fri, 18 Oct 2019 16:36:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571441819; cv=none; d=google.com; s=arc-20160816; b=MMclKGoi+7xqNKX3spSU5X1yKCxHlwplbbYOELiM72NVMHa0ACTA/VrcXuZwwKe9uf OK6tZg65smkT2quxVkXUCM6PfNKuoNuO+FVaKvdp0t1JB5jtu/nUINRiaUnM3lnC9kq4 BdmT4/YWj7BrPQt3Ss7dmNS0SGCh41tR6MFCVmc5v/DHk+V9yArnT7TJ0SPBnmv/f3hR KCb40w3IBbE9QR7BOp5u/es7AYYtCLvidunY6iD5as+B9pHFDG0w8zUy1Iidiio/2QfI 6anoOrktb+cNNsAf8rkfHBN5GRvDjSNf6ZneueZMBkQxWkaWUwroD/X22vxMhdkUQ53z REpw== 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=Kq8R3TnvNzMYwG1t3qC/4ZzlVc5mZHcTCWL45tM6MZc=; b=d9BPNccdhejnS2kbpwbm5Y51qzmbVdrXOJj6TD9tUt37cmte+mQLHaBbpZWqbg5OM2 Sib4J6gA3l2p8NpybEL+zjZCCtcepMh+a1vyV+kIew73aH83IABhQJDm4jm8kiQatWiM tiGTAFeyUZl1fTX36fGtnVAaY0genPmHdhkUFDlzB3QXsIbAQScQU58lXthxpOxhOrHQ j+ZhsdT/MXNU6/v8yaYtn1TuzEdvO5EBLWTGVai/tdRALFJ3VeNFTug8PXWut5y6rhLc cXMzM/LpYIIcdyx2+z4i4KXjSmvF+CCzVXlRqdqeab2OGViq2wsnfXd0TBv3WuBgGb8C 0jHQ== 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 z55si4911541edz.254.2019.10.18.16.36.34; Fri, 18 Oct 2019 16:36:59 -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 S2409611AbfJRHFB (ORCPT + 99 others); Fri, 18 Oct 2019 03:05:01 -0400 Received: from mx2.suse.de ([195.135.220.15]:38934 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727011AbfJRHFB (ORCPT ); Fri, 18 Oct 2019 03:05:01 -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 51E31AC18; Fri, 18 Oct 2019 07:04:59 +0000 (UTC) Date: Fri, 18 Oct 2019 09:04:57 +0200 From: Petr Mladek To: Alexei Starovoitov Cc: Kefeng Wang , linux-kernel@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , 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: <20191018070457.ge3wcpdle6pwtsxd@pathway.suse.cz> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191018042416.r4fffxzbxb3u4csg@ast-mbp> 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: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. Best Regards, Petr