Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2452074ybk; Mon, 11 May 2020 23:03:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTKJ/p+DRc7ntUXUZ0lZngSjJfcPPaPKfWUvp+Ud812gyY1mkSRu0h6qamXmu6qUtvyWA7 X-Received: by 2002:aa7:d787:: with SMTP id s7mr4692103edq.104.1589263403683; Mon, 11 May 2020 23:03:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589263403; cv=none; d=google.com; s=arc-20160816; b=iE49NUjB43a92JPthUgrkt/qqtDxv1F1xgSPQBx1kcRdMIEdRqzKUmCYUir7NKI0u0 m693ouGdQdcHsn9ll1mTRieJCbeORqJZy1jdj+YfJj72T6/YcjUSGpeiPcAreoT5ytc4 7jcHW1WF0A6sv22BSC+jNVeLZ2UsYSKNZtz7fmFXrDPbtOrJ/73lNU17FJ16+2nECbfw 4eBty23KvBoLe7B8XCveWjZ3l25DscTDBPrDFTza2Q67PglQuAkNqye1dRpw4iUv8FbZ 1ojXTzF48l7Eh5I+7uHcQ/pxKjgChACim3tgsvd1uIAMJykK79SoDSxxcduccAfcdsQp dhmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=yJuAmPZM1OUF3tRynJ8B547l0BWMftUiitExbm+onbQ=; b=gyjn6IEz7In5GSWeVqu1Kmgv4S5pn+be7YNIjeGFu7TC/F4R8Dek+zU/zdFovmR/lB 9BFjYY8wtod86lSk1pTw9mVbeUV9ZzxXVtDzKD0JxjYal+xE6KLAYCKyEzBnDop1+qP1 ogxcIWANGRNObialWl0a/tZHv+EIQyaPtBRHFcbclb4YRLwNHcd9VR5d8P4Z5/c+Sqab F9283YlIof9pT1NsD9P7OcRVgbeHjsgZs9dXYCsMM5ZBAA6drQv6ACRDR3sPgmtHZl/d t5AEMt9Yz9a7EbX2EgJKUrTBJAhhj1XRC0Ff6TNlNf+/s5wet3Y92njpJipMnL2dgz90 vQqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=ApbcGl6f; 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=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si5456853ejz.497.2020.05.11.23.03.01; Mon, 11 May 2020 23:03:23 -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=@oracle.com header.s=corp-2020-01-29 header.b=ApbcGl6f; 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=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728651AbgELF7d (ORCPT + 99 others); Tue, 12 May 2020 01:59:33 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:41984 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728073AbgELF7c (ORCPT ); Tue, 12 May 2020 01:59:32 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04C5wF0B136159; Tue, 12 May 2020 05:59:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=corp-2020-01-29; bh=yJuAmPZM1OUF3tRynJ8B547l0BWMftUiitExbm+onbQ=; b=ApbcGl6fyOla9VRTSrjXGTw6xfkNw9sIjPEcZ9eYEZ6dR2fBputLjcjZfE89EyPWNnTb vU4ZlJ08K8+jvMMI91zTQbZQmHVzc/fLD5VUr4Fvg35V4tQdk0MWf6cqyrp2XL6EICJh BMdKp+a927y8HqcGQky9cZ+4BwX/lgrI9J0zLfaCc3Urw2FGvUMk7VPQ5hSmG6U2bppF LJZw1STTfGiFbDTBpxe9O/nu9fVAVLc1aLkTMh+fUqHk0cc0qlA2JScES7MldQ66CZ74 RPUwhEtnRRpF8eqg590a5tTihfRSFYjtEA2lY8IfyeK9PJAIqB5BMY9a7mGMOkgdi4ba Xg== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 30x3gmgwjj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 May 2020 05:59:14 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04C5rtoT051900; Tue, 12 May 2020 05:57:14 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3030.oracle.com with ESMTP id 30ydspr2ck-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 May 2020 05:57:14 +0000 Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 04C5vC5R013762; Tue, 12 May 2020 05:57:12 GMT Received: from localhost.uk.oracle.com (/10.175.210.30) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 11 May 2020 22:57:12 -0700 From: Alan Maguire To: ast@kernel.org, daniel@iogearbox.net, bpf@vger.kernel.org Cc: joe@perches.com, linux@rasmusvillemoes.dk, arnaldo.melo@gmail.com, yhs@fb.com, kafai@fb.com, songliubraving@fb.com, andriin@fb.com, john.fastabend@gmail.com, kpsingh@chromium.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Alan Maguire Subject: [PATCH v2 bpf-next 3/7] checkpatch: add new BTF pointer format specifier Date: Tue, 12 May 2020 06:56:41 +0100 Message-Id: <1589263005-7887-4-git-send-email-alan.maguire@oracle.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1589263005-7887-1-git-send-email-alan.maguire@oracle.com> References: <1589263005-7887-1-git-send-email-alan.maguire@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9618 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 suspectscore=0 mlxscore=0 adultscore=0 mlxlogscore=837 malwarescore=0 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005120052 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9618 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=872 clxscore=1015 spamscore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005120052 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org checkpatch complains about unknown format specifiers, so add the BTF format specifier we will implement in a subsequent patch to avoid errors. Signed-off-by: Alan Maguire --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index eac40f0..8efbb23 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -6085,7 +6085,7 @@ sub process { $specifier = $1; $extension = $2; $qualifier = $3; - if ($extension !~ /[SsBKRraEehMmIiUDdgVCbGNOxtf]/ || + if ($extension !~ /[SsBKRraEehMmIiUDdgVCbGNOxtfT]/ || ($extension eq "f" && defined $qualifier && $qualifier !~ /^w/)) { $bad_specifier = $specifier; -- 1.8.3.1