Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp597082ybn; Wed, 25 Sep 2019 04:58:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhzmDaEazvC5TEE322hx/NxI+1s/QtK0I7wc3NKiEqkEyOXOwlkHzxZFavdX9ypdgDYzLt X-Received: by 2002:a1c:80d0:: with SMTP id b199mr7482432wmd.102.1569412701334; Wed, 25 Sep 2019 04:58:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569412701; cv=none; d=google.com; s=arc-20160816; b=F0yyHymkL2q/kAwEzKz0Z7N9CHYAoQo9V9Wv41uBElbjpw+KwElZhHgo5arlkSNmeG +/XaDOyNLZOZLMgy+uE/1xTXz2Jx0bWJwGUOeZ2hNjWdeMfFzclY8GvMrvscjcLkf2Zd mXWS8IGf5WaAsQfyXVXTW/ZrFSBFdP+XHqmSbZsm3UV16ObUf7b1HBfAmb6FV63qsGaz Zzx1WjevUhlbajR2fTW+O8HY7MJQU0QFZygTy42cMONvmJ5f28qwwZkIWiEq6Yd4F/lq XC4Maz16hfNl039MqlyUl3rXIC94Hsj7cmAdFKSPgISUT8HHLk4hucF5HWjhA/N9LdNP 608g== 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=eBH0H1gWj6YA/cH+nt5+1YIRuP977+G4upeBWVci5gs=; b=yge6Mvymzz8nWrxJFdqGJTcOHCQIckD1cuZnzmZCwbzJBTVymO9iRdXpiRBo0JwpwL H7E7o/HlDtbT6ELt3AW7pqP/IEUvkvqPirxwhdf1tH0AEuCLpwcJ9qlpB425hTTveaNQ TS8WyOZx2q9cC2xm9Ru5wzlyJi0OKdRB8NAHbcZqwBxjFlvWdVvv/ITmeEnvmMgGMrlj 9z6QCdZr+OZQJKlnMlqyeYbqfGMibYP1ufoeuSvrKEETjmV6R5xQutODo/JuLAxPqjzH 9pqTwbpwsvbBQfwjg/LwAd1nHwoKdTWE5KXZ4iF9ix9GJwJ7D6BbldinnJEtkBYoV7Y+ +eIw== 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 k39si3096620edb.52.2019.09.25.04.57.43; Wed, 25 Sep 2019 04:58:21 -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 S2392625AbfIWLDK (ORCPT + 99 others); Mon, 23 Sep 2019 07:03:10 -0400 Received: from mx2.suse.de ([195.135.220.15]:54536 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387421AbfIWLDJ (ORCPT ); Mon, 23 Sep 2019 07:03:09 -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 B4835AED6; Mon, 23 Sep 2019 11:03:07 +0000 (UTC) Date: Mon, 23 Sep 2019 13:03:06 +0200 From: Petr Mladek To: Daniel Borkmann , Linus Torvalds Cc: Andrii Nakryiko , Arnd Bergmann , Andy Whitcroft , "David S. Miller" , Martin KaFai Lau , Song Liu , Yonghong Song , Sergey Senozhatsky , Kefeng Wang , Peter Zijlstra , Alexei Starovoitov , Andrew Morton , Greg Kroah-Hartman , Joe Perches , Arnaldo Carvalho de Melo , Ingo Molnar , bpf , open list Subject: Re: [PATCH 30/32] tools lib bpf: Renaming pr_warning to pr_warn Message-ID: <20190923110306.hrgeqwo5ogd55vfo@pathway.suse.cz> References: <20190920062544.180997-1-wangkefeng.wang@huawei.com> <20190920062544.180997-31-wangkefeng.wang@huawei.com> <20190923082039.GA2530@pc-63.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190923082039.GA2530@pc-63.home> 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 Mon 2019-09-23 10:20:39, Daniel Borkmann wrote: > On Sun, Sep 22, 2019 at 02:07:21PM -0700, Andrii Nakryiko wrote: > > On Fri, Sep 20, 2019 at 10:06 AM 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. > > > > > > Signed-off-by: Kefeng Wang > > > --- > > > tools/lib/bpf/btf.c | 56 +-- > > > tools/lib/bpf/btf_dump.c | 20 +- > > > tools/lib/bpf/libbpf.c | 652 ++++++++++++++++---------------- > > > tools/lib/bpf/libbpf_internal.h | 2 +- > > > tools/lib/bpf/xsk.c | 4 +- > > > 5 files changed, 363 insertions(+), 371 deletions(-) > > > > Thanks! This will allow to get rid of tons warnings from checkpatch.pl. > > > > Alexei, Daniel, can we take this through bpf-next tree once it's open? > > I'd be fine with that, in fact, it probably should be in order to avoid > merge conflicts since pr_warn{ing}() is used all over the place in libbpf. The entire patchset modifies many files all over the tree. This is from https://lkml.kernel.org/r/20190920062544.180997-1-wangkefeng.wang@huawei.com 120 files changed, 882 insertions(+), 927 deletions(-) Would it make sense to push everything at the end of the merge window or for 5.4-rc2 after master settles down? Best Regards, Petr