From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 27185A0547; Fri, 10 Sep 2021 19:54:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BAC6E40DF4; Fri, 10 Sep 2021 19:54:49 +0200 (CEST) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mails.dpdk.org (Postfix) with ESMTP id 2DE12406B4 for ; Fri, 10 Sep 2021 19:54:48 +0200 (CEST) Received: by mail-pg1-f174.google.com with SMTP id r2so2500569pgl.10 for ; Fri, 10 Sep 2021 10:54:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Vbh2mSs/eDKUVGGzj7TFzOoVOErGs46zjFp0bOkINNU=; b=O+62vSRAFLL5Cuh5xWMqgt0yC/3QuwKvZhDXSHBlYeeO8BDHVrCF2wxEMHl2OhAWW1 I4S01uXrCYhFJA1w26OZquGXotzdJe10gBnpZtrGaBGVX0Sykvc5ByMbYG6Jyijdo/wB R+Uy2BeC/9pXHXJ/BXqXYC5jQwFYVD7+wWj38QbSg0UWwrZGIEzASTlDfWr5VrC6+fiT h1Fv+Tcz5zF651EW7xmspYZCsxmDsJYLLiXvELBx836rhJzX6sTJAR1eTT3ZsT1QnmJm bznA1T3hHeNbJ91IxxBzqPetUI5CHJy+0TS8DGfxPIPOboUdv+Vv62bR56lA6v3inieF eCuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Vbh2mSs/eDKUVGGzj7TFzOoVOErGs46zjFp0bOkINNU=; b=hSyxvugZRdff6wTlwJTtCTREfs+4LuquxwBtdQL6xJ+8/NRfH0uOIuevSwyIr82zvV VTy4tR57/CuBb10gg5ac9rt1WedDO0ZaJYxl4ZNfwld6LEKzw0j/UJpJfW/en0aHndyu mjoF7dPm0hIgP479lWyVPzIXSgx5I2+cY3O3nOyt6fqEef9E//zYFZA3Z1UjZQOPvylo 3NtdHBPQyVWzavSwzMQGdsoGZeNCilE3cOiLLMH38EgxaIca36wC/mzhKDB9J01+P+V9 2Gzd3KAhS87kDiGB2O5xSdvGG/lBlc9RD2VYQV/AS2Gq2qeRFw7h7alRYvWpB+HJ8sgi ghHQ== X-Gm-Message-State: AOAM530h3Og9SgK94+sXXbYaDZlPV2DopR3efB3v17tLLVV+nCpKN2WN VhvWE1pf4+qgCe/Jbtoqtiio0qnvk8lkDA== X-Google-Smtp-Source: ABdhPJxmH6PUmxY8tjWa2QVn6sMaAKpLX8QboHYQ0AgqTrgFx3AjhKDEkvJbd5ZSvi5cdT1UT0RM7Q== X-Received: by 2002:a63:a80c:: with SMTP id o12mr8317057pgf.422.1631296486649; Fri, 10 Sep 2021 10:54:46 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id j2sm5410592pfe.201.2021.09.10.10.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Sep 2021 10:54:45 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 10 Sep 2021 10:54:43 -0700 Message-Id: <20210910175443.527801-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] checkpatches: suppress warning about strlcpy X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Latest versions of Linux kernel checkpatch now complain about uses of strlcpy (kernel perfers strcspy). WARNING:STRLCPY: Prefer strscpy over strlcpy But DPDK does not have strcspy so suppress 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 c314d83a29d3..057208c8e1ea 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,\ 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,STRLCPY" options="$options $DPDK_CHECKPATCH_OPTIONS" print_usage () { -- 2.30.2