Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1304981ybg; Fri, 18 Oct 2019 15:33:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4QjmJzbfnpyXlOrwmfl1MddPB9VQ5ODd8+6iZvgcrvUQtp/Fq+2snIX3T3EaOrOGW4tqY X-Received: by 2002:a50:955e:: with SMTP id v30mr12325010eda.221.1571438017898; Fri, 18 Oct 2019 15:33:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571438017; cv=none; d=google.com; s=arc-20160816; b=DoEGD0rqrz7vZl0mjt9SmYBI9ClT3OMFIDtCADm4c4783p4fg+1xxK7gtg8VhjP70x bJ7zljCdUpGkehZ6urPatm95BdWJpQWm96QeFK7yUV5fkLz8m488nA9OE094Sbp5rRdl pjVmQUg7WrdTCB5d13A1sMjK9LDgWGUWkiIB6/TlftlQNxbz6W2vF5SpmMIC0v0r2nNL txvu8MYduoUmO3ijEXtlqV1C/sKH82UQ6bOoI8cpICnc0wayGkcAUbpL7mpIdvwFEI0y wI5I9yx7fLgXGKZpkgb7h2HrGA+J9/cbq9B/SwkbZivJN+4YOaibIjvzZeDmtv/F7bh7 vhWA== 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:dkim-signature; bh=eKCQEHJp+Bmk1+KxL2VW8ZVDs0l76/RRTSEB8GtoKzU=; b=py/WfMTZLEjQcQ/jb08E9KAgQPwkbiAWNuBAZ4Yb1A9u4GGyLpKGJ1QVMXWycchBxB e/DmJ812oJCwwgAglf0F4nJbIpUnFIsG1XclROA+0Rdr4wylDwUhotdDf0a2PDJHNuD2 AAIU9DoWKllLTudvmD7BY57lctdsCnQWy/JzyzXbYHVGx0R6c49PU9DmQ+Wvj9Z8ZUPS i7FN9dXP+N5/kQ8YowSckAMfNpDmji1OdZdKiJaygRx5xBLzxWuAzZKwCsp1/d+lXjYW jF2RDSQCI3vmG5qljKNTBMDwjQxoUqbjx0hXYjuV2o48c4ztvoPDpzeUiHkNG8izOUGI ExVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VNYmFpR+; 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 rk14si3991618ejb.24.2019.10.18.15.33.15; Fri, 18 Oct 2019 15:33:37 -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=VNYmFpR+; 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 S2391315AbfJRFPR (ORCPT + 99 others); Fri, 18 Oct 2019 01:15:17 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:33026 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727606AbfJRFPR (ORCPT ); Fri, 18 Oct 2019 01:15:17 -0400 Received: by mail-pl1-f194.google.com with SMTP id d22so2281934pls.0; Thu, 17 Oct 2019 22:15:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eKCQEHJp+Bmk1+KxL2VW8ZVDs0l76/RRTSEB8GtoKzU=; b=VNYmFpR+1svH3RklJ/ni4HOgMNYHl7MHEGV9c2RKjwcUsmhFCVwHCd8Lx6MtsoWVte Git34f+i7ciXxxGu+izTqbWE5AxM6LMpwlAhUfDPh5Ki/fqj5/ZAurq5nX/8wqfZhuFx GBzv2FpY+5gkaZoq5UJ8rNnF0b/TofDQ5Xp+lVHw+QBbI4lHwpdkGPzJRzkYMlkplsMf Y5avb3hUqFh/XcCy5y/7Od4OeVLbiQf0WVuUB99THxpC4P/ofAiEkA2ITlSHT/5P5m5f PI3HN+DbW9qrtCpPtPv5uvbqXLG3l3RaWsKUTdL6qDdCg2lddyuwlw/FuZ7C1SP5rVLF TcLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eKCQEHJp+Bmk1+KxL2VW8ZVDs0l76/RRTSEB8GtoKzU=; b=EensbI4iBJApQ4yw/zv+51REzkZBDCIJK58ob+gndfNt9nNldO/g2RI45wefzbksa7 cAHdMxA/egvYhxe9knHfZOj3rPUdAvzv398GIk2jbS6vxILtGWBQPGNtirmXqq9IHdtk aZnvA0I2C/8duBwXWtBd32GBOWKwzn8AaPCoIyrwCSn9evWsdFiiiyEMTe2LyOXz/kAE w1ZZpDrfrFoCHMzW0F7P64KqqQ4KgIbDkJHiqyBBZSoWY0q50q6sRhRklLKmW2LfMV+1 r738Lgcf3sG8ADgJKWluBIbz1o5+8QGRXF+k13xAH67jy5oWgMgwPObQvapS1SF7FlMb ZnVA== X-Gm-Message-State: APjAAAVJSQtleqkG2TqaZNQXvJW6xhIXh6KytDa6DUmjtD3CVs1aENNt uEqL2Df2qsKcx0HG0W/wraMuKN9w X-Received: by 2002:a17:902:a50a:: with SMTP id s10mr2720061plq.59.1571372661919; Thu, 17 Oct 2019 21:24:21 -0700 (PDT) Received: from ast-mbp ([2620:10d:c090:180::cfd0]) by smtp.gmail.com with ESMTPSA id v35sm4253093pgn.89.2019.10.17.21.24.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Oct 2019 21:24:21 -0700 (PDT) Date: Thu, 17 Oct 2019 21:24:19 -0700 From: Alexei Starovoitov To: Kefeng Wang Cc: Petr Mladek , 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: <20191018042416.r4fffxzbxb3u4csg@ast-mbp> References: <20191018031710.41052-1-wangkefeng.wang@huawei.com> <20191018031850.48498-1-wangkefeng.wang@huawei.com> <20191018031850.48498-31-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191018031850.48498-31-wangkefeng.wang@huawei.com> User-Agent: NeoMutt/20180223 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 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.