From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1E5FDA04C0; Fri, 25 Sep 2020 18:42:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 774741D15E; Fri, 25 Sep 2020 18:41:58 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 81DC11D15D for ; Fri, 25 Sep 2020 18:41:56 +0200 (CEST) Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601052115; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XyLeEoZ+6WaIWqBQhnanDlSG70Ieifp/PvdxbXrs8AQ=; b=POpJlrI0GSg18pH9pEAvhME68vwTsjab3H3II5Spq6gv39JOzmTqia8TBN5T60q9oBxCWa +4/wK9Vs8hMg8Qw1oIfr7BWHvagq2vp+UReOO8sps8UTdk0Re4lbW3O1jsJpPRIPF6UT5v VgsUkezN9AzVompD1/V+54e746lSQ+M= Received: from mail-vs1-f70.google.com (mail-vs1-f70.google.com [209.85.217.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-410-XF4aZ9P7NR2EycpRh_aTlg-1; Fri, 25 Sep 2020 12:41:52 -0400 X-MC-Unique: XF4aZ9P7NR2EycpRh_aTlg-1 Received: by mail-vs1-f70.google.com with SMTP id e202so920975vsc.4 for ; Fri, 25 Sep 2020 09:41:52 -0700 (PDT) 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=XyLeEoZ+6WaIWqBQhnanDlSG70Ieifp/PvdxbXrs8AQ=; b=pS0Qu0H8ZM2ickYkxhNv26nhAHHrlUuS5bz8FYnuT6llAyLvhckGdL2Q+Q0Hg0Rv82 O4L8euYa/0FnbGQ4C2jC+ZFVItmYaenUVQxhW6kKUMPGe3IEe7xacuYn/RQSIlGfcnqi ILGp/T4jFiv+VcAxNpjjaZwJRPJk2KKyvDiLQjj2AYGCEJThUdYdpj4BTCP3PUOa9u47 lq1O5/F99yDnoDJlQYxVvf8digu7YYW2tIENTH0hsAHuLR3/PMKRi+brG26/qN5985XX Ce57w+ZDsydBMi1entb9Z2rAZJJB/hJ+OkxTgjAP+N83FaE0j+D9I7qS1M6BO/Nq/F3o wa+Q== X-Gm-Message-State: AOAM532b1hX8GXPm3lQKJsCuJ/zqhPe8+YC6C3u/RkZY0y5xPSpxAOhF UVrzfM+3B726RlO/BsSl9GK1VVD2P07MLwDXgSIcszNzTNYo18mbCm0zrRpWsmbJTqxBMIEGgFV BiLHjbOEGEdy4u+ykK9w= X-Received: by 2002:a05:6102:3029:: with SMTP id v9mr166983vsa.5.1601052111752; Fri, 25 Sep 2020 09:41:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1gf8c6UYVDsa08SqkWuYbWpysBzOu3LIcy47Xyb1qfezLUvObgjKZLAhID/uXsaIiGD4ejMl9KYH8eMNkTHM= X-Received: by 2002:a05:6102:3029:: with SMTP id v9mr166966vsa.5.1601052111548; Fri, 25 Sep 2020 09:41:51 -0700 (PDT) MIME-Version: 1.0 References: <20200925161345.23209-1-stephen@networkplumber.org> In-Reply-To: <20200925161345.23209-1-stephen@networkplumber.org> From: David Marchand Date: Fri, 25 Sep 2020 18:41:40 +0200 Message-ID: To: Stephen Hemminger Cc: dev Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] checkpatch: suppress fallthrough warning X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Sep 25, 2020 at 6:14 PM Stephen Hemminger wrote: > > The DPDK does not have (or want to use) the same fallthrough > wrapper as the Linux kernel. Therefore silence the warning. > > Signed-off-by: Stephen Hemminger > --- > devtools/checkpatches.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh > index 78a408ef9823..923ff6f7d9ee 100755 > --- a/devtools/checkpatches.sh > +++ b/devtools/checkpatches.sh > @@ -33,7 +33,7 @@ VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,\ > PREFER_KERNEL_TYPES,PREFER_FALLTHROUGH,BIT_MACRO,CONST_STRUCT,\ ^^ This token is already set here. Is there an issue with this? > SPLIT_STRING,LONG_LINE_STRING,C99_COMMENT_TOLERANCE,\ > LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\ > -NEW_TYPEDEFS,COMPARISON_TO_NULL" > +NEW_TYPEDEFS,COMPARISON_TO_NULL,PREFER_FALLTHROUGH" > options="$options $DPDK_CHECKPATCH_OPTIONS" > > print_usage () { > -- > 2.27.0 > -- David Marchand