Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2852032pxf; Sun, 4 Apr 2021 17:32:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6y283m6FCFck0pBc1yMUyE468PRoa8Lv6sPPIQJeszKWMz0OdA4mLaHtsFvvaE3rDDFv/ X-Received: by 2002:a92:6b0e:: with SMTP id g14mr18202375ilc.246.1617582737048; Sun, 04 Apr 2021 17:32:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617582737; cv=none; d=google.com; s=arc-20160816; b=cWb7pvLZbON1tM4xWaxBwTYAndbJ63fXu7hDZFog6yNhdi8OQpeXKWYIxl0FdeSZRj PcRLsW94EhephmQ4lHYAgl/JihZLrRwoamsYsA48yYd5jJIPzZSr41nnt9jHfC46nPGz tP3oD6EEnw4xii5z7EuDP8Z3OKOqc4nOjp9yxu3VSRYO7ujvJUDHVXlXctdMMSNTUE88 GLebXw4Fth34sTiqBIWvsIbswEAcr8fX5b0fkScVGY8+SocLU1PDmKicJhVHGKXutBOU oOi9kepyNdwQMXt7Yiu4HMVMlQaZb1uOOVG4ktlSgp2uVW2j0DY7OnSSbcvbTAOfIUfY FJIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=2OVvztDvgrvzKuODIaNCcyWB5/1r0S8OTEYJE9jDz8E=; b=fkkblBkM96jfiuOvrH4bvXyHigmUzv2pGB7ONCX7Xjgf48dua9IgWojAvrN5OPKKel fy38m+8bsKg252bqFNGh+CAisCXVETPEHO+TD009mJ270H9uiaKCg8WgY7t0ud5kXS3Q ZuKaHLvKjaYr73NC3QbRNoIugNTYhdz+v6XkPe8Dp8J2rrZmAebBBbPJ9lMIJAjSm2SV Gzkq8cmumNLw5Nk21wUaIurd7sZkvVPsjDoi9IALXMntiJWyV6m1WkpK+1X8OZOWNsq5 QlQI/ac75rnuENsHxDYm0fQD0phuH9N2d/bqR3pH7wrgmMq9zddEg9YJzg+mp6Rkayit o2qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=S3Bc+Gdq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id k23si13715478ioh.25.2021.04.04.17.31.45; Sun, 04 Apr 2021 17:32:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=S3Bc+Gdq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231657AbhDEAQp (ORCPT + 99 others); Sun, 4 Apr 2021 20:16:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230286AbhDEAQn (ORCPT ); Sun, 4 Apr 2021 20:16:43 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50760C061756; Sun, 4 Apr 2021 17:16:38 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id g38so10874521ybi.12; Sun, 04 Apr 2021 17:16:38 -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=2OVvztDvgrvzKuODIaNCcyWB5/1r0S8OTEYJE9jDz8E=; b=S3Bc+GdqRNFE3OLAF5A6IHVF5MBOLXeCKFhSHiQlJMKcScZOpvhe2qakuiJq04b0D/ Usf+eB2EH9SLoAjnzgC4G2AQQEWJJOqd7L289opGF5oCN0qpixr98tSLWhTudrnZycfC nZYeClxeUDX4H3Vnk7a/G5UdDFe/iDJYpodJ8Ioef4IC1GIHDW6LV/+aY2FUUG8R3VGV LFkPrwHdE9O2ukCc10boX9kCUSyXC8tE2xpVMppO1EwKs0/EQZlUBvH2YmcJyc9yvpUk IynBVyMJwTTRFBrmE8DZnph/fSgIDwQnG4xyEmwgWI6Uqeo/wSSz2aFlXOt7w2QYqE88 eqyA== 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=2OVvztDvgrvzKuODIaNCcyWB5/1r0S8OTEYJE9jDz8E=; b=oJjRAAy9f9BXhi34W2j0fKmz0i4AoO4JE5nRLblSHOk/0H0N2WBwIE6A7JztAQZtC9 wy89vPQWg6uyLuFX0wADnvVXldqsB5sBXCW/lFg6X2fg3Q38dszEnYKqf417qgMkJHKK +S8OgL6uN/VUeKSBy3/1Oh8U6G27yGfcvhygy3XLyaBqSWRI9fsRuLLTwWsLmj3ZZtgG KSbp86fQ8WsnfRfLEn06dw+Sv8lV3oK/awMNPVabXzTTK/cHJ8weyDkTFuxHY6gBJi8S sdY5YHh6Bk35hHGn55xHRNch8V1xzjHp0pzeVkha0LbCTw1BAsgSEeE5GFxB0RLGdsWF b0NQ== X-Gm-Message-State: AOAM532IigjSZHX2SX6H8jvigYxG1Q3JFbc6Eit+evzGButMW1vS1Vp7 +3SIIxi8NEnMA7oO8qApEq+MDcY7dmtkvoEEUBE= X-Received: by 2002:a25:d87:: with SMTP id 129mr22991641ybn.260.1617581796896; Sun, 04 Apr 2021 17:16:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andrii Nakryiko Date: Sun, 4 Apr 2021 17:16:26 -0700 Message-ID: Subject: Re: [PATCH] libbpf: Fix KERNEL_VERSION macro To: Hengqi Chen Cc: bpf , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Networking , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 4, 2021 at 2:53 AM Hengqi Chen wrote: > > Add missing ')' for KERNEL_VERSION macro. > > Signed-off-by: Hengqi Chen > --- The fix looks good, thank you. But your patch didn't make it into bpf/netdev patchworks instance ([0]) most probably due to too long CC list. Can you please re-send with just maintainers and bpf@ and netdev@ mailing lists in to/cc. Also for bpf and bpf-next tree, we ask to specify the tree with [PATCH bpf-next] prefix, so when re-submitting please adjust as well. Thanks. [0] https://patchwork.kernel.org/project/netdevbpf/list/ > tools/lib/bpf/bpf_helpers.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/lib/bpf/bpf_helpers.h b/tools/lib/bpf/bpf_helpers.h > index cc2e51c64a54..b904128626c2 100644 > --- a/tools/lib/bpf/bpf_helpers.h > +++ b/tools/lib/bpf/bpf_helpers.h > @@ -51,7 +51,7 @@ > #endif > > #ifndef KERNEL_VERSION > -#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)) > +#define KERNEL_VERSION(a, b, c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c))) > #endif > > /* > -- > 2.25.1 >