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 57D99A0032; Tue, 16 Nov 2021 00:20:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C014240141; Tue, 16 Nov 2021 00:20:24 +0100 (CET) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mails.dpdk.org (Postfix) with ESMTP id AE0CE40040 for ; Tue, 16 Nov 2021 00:20:23 +0100 (CET) Received: by mail-pf1-f172.google.com with SMTP id o4so16301545pfp.13 for ; Mon, 15 Nov 2021 15:20:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R822eE2eWZgcvDcG3cvMLaVWnP0ZexUMCUOKrsY0RSk=; b=jKMzZLnaavAI8H82iZrUVEsaFTY57LSvwC0AhZCZOMMpLIAuplvokrFyF5wgTULoQx ZQHQsed+/mj8WI6tNlib2v0RzcODMXgUeCaJH/GIiwXPdnwoS7tN+USwpZXbP74tDBHl lic8+unxKtx5msN78phetbTdrHI1DTBeS4i3lOSFFLaJq4esCMbsR3fYZTwO34bB72ri IAmQGEfeo80Df2UyiDGMqexNAlaebGpdOrJndjV1Tu0fwij3pnu+V4g3sRHDBeQIm1Zu R3Ekb/UkGzNJu11BHGpLb2DW/Gd6bGPAblBkMVGx7OmuyBJQFTrsuY9Pu6/h2efxnecF XVig== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=R822eE2eWZgcvDcG3cvMLaVWnP0ZexUMCUOKrsY0RSk=; b=0qET4PcI5K+DBzGg4R2GRjwRfLIGimAhc26VgA175NuNqIY/QFjt+rdoYhfMJtnic9 Pzxus0bF8Wp8ZRir6YdPYXYpez1p5udyAG6FWhmmRvOZpcKCXauF9pUMLPiDFqbXmpek ba5ZtRgbplrrG7X6oFo3U/wtMNfA9kpQjHLBFFZt9fqeSIxtJZIbWoasH31KI82SPQHK jbCsD8BuDbCS3uCKtnL0oD8GUBAtylvX8bb4he1ZhudM/FDYTbyVbvRrcd54xARhNPjn Mz/eiqfLL9RbCYV0YsSCbmHtPps4dJKkn+c0bApQ+ciDPW2dDzgGIfgVVNfPl7EqK6/h +3dA== X-Gm-Message-State: AOAM533f3uW2RMmb2qjxfPd3EWTXIEPAhaPVxZDGI2CPyms9e4eOEoDj W3vbMv1E3DrXPg906mNNIO9y7dkwCoeJGA== X-Google-Smtp-Source: ABdhPJw6lMjXBm+/EQByVL+pdscaaiScTby+fc/sRh9Z2YbnVz7gxMvOHNsdSzUc9y953p5Abpbi9g== X-Received: by 2002:a63:27c1:: with SMTP id n184mr1838113pgn.58.1637018422313; Mon, 15 Nov 2021 15:20:22 -0800 (PST) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id k20sm17155601pfc.83.2021.11.15.15.20.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 15:20:21 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson Subject: [PATCH v2] checkpatches: suppress warning about strlcpy Date: Mon, 15 Nov 2021 15:20:19 -0800 Message-Id: <20211115232019.117737-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210910175443.527801-1-stephen@networkplumber.org> References: <20210910175443.527801-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Current version of Linux kernel checkpatch now complains about usages of strlcpy because the Linux kernel perfers strcspy. WARNING:STRLCPY: Prefer strscpy over strlcpy But DPDK project allows strlcpy, therefore suppress the warning. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- v2 - fix typo in commit messag 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