Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp43425ybn; Tue, 24 Sep 2019 17:55:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3v6kyF6Sv3QGlqW+KE25XF1QjYKahMU5hYMakYC6iQ2ps1yXpmcPq1iAw0CgN3lADPaO+ X-Received: by 2002:adf:904f:: with SMTP id h73mr5751141wrh.128.1569372921825; Tue, 24 Sep 2019 17:55:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569372921; cv=none; d=google.com; s=arc-20160816; b=ckNQLmyUfnV8DtMOnTJgqf88x2kjiG/MmL02p8nkItSnA+rCvkTBy7BXnptPDPd9gH niwR5ApZ+dFZklqymy/+Lmn3ejwd76edK+ILqViZ3kPo7P/HtcOe3YxLVIL1pqYl6fDv GKR5ZV5R/1d/N5quwcl76v+6gbS8Q+QGNGpdqPuOkBq698U6MnFhNVva+RH/qPYo00hG vtQ2uuh2Hw0zx9yEPq3Pk8T4zIJ9rwq07soSIPh6iHejYHTPC4/52thKFVb/nG39DRqm ts6CWQz3DdDXPslnAXVGnkisF0wicZ0vZj99lW6xlxA2BwZ4zPtrr115rLZLVj6BVBTO Q93A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=NEjeJRMZu7XwAcL5sHF1ZmhnHlSVlmSsLDwPoar0bfQ=; b=nCU3kppdkRGMVeOxAVq9fAZDuma48qoTFnEphalGACmXWXXxpCoK6nTsg28gmAksl7 u7zb0U5h63DdKLvN5KT+4L+EWph6cH195vDBTCHp5NDA4z9r22ntUqXn5VWdzBbV6fXt 9WquVCXNqjsZih5mLSIBdL4i+bnCtOvJXOIjO75Zls5HSvnIi01fwL7i/MDmikww+T07 fp1ffAlk75y6jqlc8taR4rrnNFu6v7EMq8L5W8W6wxC6tqSIe5pWDj6QnmHAToEDXFQP 2Hkv4/OSfSd3g+vYIU3d3Zk5xVVud23wzVSfRKiPdGF5ynQrjEkDMgpimO18Qplh1tCD FYBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n3jysIRr; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f6si1912976ejx.293.2019.09.24.17.54.58; Tue, 24 Sep 2019 17:55: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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n3jysIRr; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392412AbfIVVHd (ORCPT + 99 others); Sun, 22 Sep 2019 17:07:33 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:35835 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388917AbfIVVHd (ORCPT ); Sun, 22 Sep 2019 17:07:33 -0400 Received: by mail-qk1-f194.google.com with SMTP id w2so13327469qkf.2; Sun, 22 Sep 2019 14:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NEjeJRMZu7XwAcL5sHF1ZmhnHlSVlmSsLDwPoar0bfQ=; b=n3jysIRrqtOkIShrRYRjMwqH9Rpe1/L0JXM5cxhE/hhqqPJuevRtXqirOLhY1NsNWx VZXrL/hrpU4aFVbz9zeh1sGV0d25HpOeckGFl6FAF5uwfYVsKMluYRYsozbyBoLBtOaU ZULTQKxbWcnrvue6Y0+QchjkjVpyGA3qm64fT+OqsvQ4yY0GVkOAz04wLnlWwzn+VWTa w0C0zdQ6c6abSWenSrrf9jt3LGekm3KaOoAuQlz/dFPpnpSQRUC8Iw7fgEyW6bsBuwci 7zuQGa2Pl8u/LHE77BGSAeLV8B8Y9mKTSAsd3ts/gH2muTTX0VYgleq6lMJm8//uyYqT Le+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NEjeJRMZu7XwAcL5sHF1ZmhnHlSVlmSsLDwPoar0bfQ=; b=LKHQ7x9S/hAz0zRbqwx3VS0ulL/us7pi7ySZyBk5yUgtDLbO8WYieo7DT4kcFvdwYS Npz2A5CteWMjhEPI508N/JiaA9XM6AqH7DRBg8pTEgL9P++yQFacLpN4teY3azeTXFCc Md/bGwMpT9bt+rYtlLd7DPvoSQ6Ba3D6ZlcpjCT87LICQs+cSP4PQNgFs4PUFFJKK7y7 2v3QlcpgZwxHhY/4U/2pybtNKgu6Sp7A6lUQMVAJHTyBheeykaeLWIiPp38oyg/TiKMM 8ac4psUOz9BdIL/9UOUvfzgXTkXkXqiB1/egx6vMx+oeiQK7kpdC8Eba90akz6x3Dpwk fJHg== X-Gm-Message-State: APjAAAWDH5xFZsngIg/SokjxYX7rsCcprxdVvUpb0oR4B9fONPVCSls5 aIHCYG7ffM6wTGGEP8Y0AT1hD52VIBdkk2G75XY= X-Received: by 2002:ae9:eb93:: with SMTP id b141mr14705029qkg.36.1569186452282; Sun, 22 Sep 2019 14:07:32 -0700 (PDT) MIME-Version: 1.0 References: <20190920062544.180997-1-wangkefeng.wang@huawei.com> <20190920062544.180997-31-wangkefeng.wang@huawei.com> In-Reply-To: <20190920062544.180997-31-wangkefeng.wang@huawei.com> From: Andrii Nakryiko Date: Sun, 22 Sep 2019 14:07:21 -0700 Message-ID: Subject: Re: [PATCH 30/32] tools lib bpf: Renaming pr_warning to pr_warn To: Kefeng Wang Cc: Joe Perches , Andrew Morton , Ingo Molnar , "David S. Miller" , Arnaldo Carvalho de Melo , Andy Whitcroft , Peter Zijlstra , Alexei Starovoitov , Daniel Borkmann , Greg Kroah-Hartman , Sergey Senozhatsky , Petr Mladek , Arnd Bergmann , open list , Martin KaFai Lau , Song Liu , Yonghong Song , bpf Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > Cc: Alexei Starovoitov > Cc: Daniel Borkmann > Cc: Martin KaFai Lau > Cc: Song Liu > Cc: Yonghong Song > Cc: bpf@vger.kernel.org > 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? Acked-by: Andrii Nakryiko [...]