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 09E91A0547; Wed, 21 Apr 2021 00:40:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DE7BA4186D; Wed, 21 Apr 2021 00:40:41 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id 731F340A4B for ; Wed, 21 Apr 2021 00:40:40 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id E90F65492; Tue, 20 Apr 2021 18:40:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 20 Apr 2021 18:40:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= qMOn1YGIlg74qCZyRf+G3KJE6pmmoolm1ORz1H2ouVw=; b=KtPU9+M47DZHqQBl IOFz0IoU7QMsF15ieQhj/mZPRQjkpKnsQUul611kO1rXFjQxMCwa1TYiFDbmbfV4 7etZbI/r5roH/ZuGrbBiGJFi0vLy5qY7S9bI2Qm/78k/dv/wgPI1rOMsoVpd1KWv ZxboLfAJCfOSE74Y4i5UEBuHYUHET1uXrEOgn7XCJzxGZ25Nj8J4/Jup7DTOSxNb 6spli297bOPSPvqBG/ZmznjItEbzOCJrv//HE77zj5eWtndqOGJiClN4yd9zLsM6 W4DdWkNc0qqhKAmtGqyyUisJtSFjmg1lHhjotaDtjuRSeHghD6B0jSvUkt9KKa+H 4ZsVSA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=qMOn1YGIlg74qCZyRf+G3KJE6pmmoolm1ORz1H2ou Vw=; b=i9OA5xGOTC301+Lwkqz0zQmpg9/Y60MGuEzfi/+AYOhcNIOO6TqOjXxDH eBAHqPwakCdsKG4bI47IcbxM+RAm0D8LfID+pEkGiWOMtypagpBsVC1P9ZdlRC23 O6GPdbQpmhq+nG/vMIQlcDNtW1TViWH6bR5V8IEQQBIRBkjnpx9U1DhMi+p7U9ub GhD1pcsiRCTds5p8xPlRGegnsX0zUHjhyA+YB0hJPcgqT1strOLAlwdgW/bYBMwp JVTAYFlM0/R99RXshmXmk5Uxl4PdVaOFwIdzi/FG1AjWe0Vk3uMwYqVG3NpJ++2a bXi3YPcRQHGUUSRsk7go/VtJueQNg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtjedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A558024005A; Tue, 20 Apr 2021 18:40:37 -0400 (EDT) From: Thomas Monjalon To: Kevin Traynor Cc: dev@dpdk.org, Olivier Matz Date: Wed, 21 Apr 2021 00:40:34 +0200 Message-ID: <13382538.lWEEDP24Pr@thomas> In-Reply-To: <20210420132150.167817-2-ktraynor@redhat.com> References: <20210420130915.166692-1-ktraynor@redhat.com> <20210420132150.167817-1-ktraynor@redhat.com> <20210420132150.167817-2-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 2/2] app/test: silence clang 12 warning 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" 20/04/2021 15:21, Kevin Traynor: > clang 12 gives a warning about string concatenation in arrays. > In this case, as it is a long string test the strings are concatenated. > Add parentheses to indicate this. > > $ clang --version > clang version 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34) > > [2556/2719] > Compiling C object app/test/dpdk-test.p/test_cmdline_num.c.o > ../app/test/test_cmdline_num.c:204:5: warning: > suspicious concatenation of string literals in an array initialization; > did you mean to separate the elements with a comma? > [-Wstring-concatenation] > "1111000011110000111100001111000011110000111100001111000011110000", > ^ > ../app/test/test_cmdline_num.c:203:3: note: > place parentheses around the string literal to silence warning > "0b1111000011110000111100001111000011110000111100001111000011110000" > ^ > > Signed-off-by: Kevin Traynor Series applied, thanks.