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 08B97440FA; Tue, 28 May 2024 23:34:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 73162402BA; Tue, 28 May 2024 23:34:01 +0200 (CEST) Received: from fout6-smtp.messagingengine.com (fout6-smtp.messagingengine.com [103.168.172.149]) by mails.dpdk.org (Postfix) with ESMTP id 7362B4025D for ; Tue, 28 May 2024 23:34:00 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id CB5581380135; Tue, 28 May 2024 17:33:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 28 May 2024 17:33:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1716932039; x=1717018439; bh=BzCeqx7GCUwzv9xEfQmyu2hFRTTkkzXFz4XP0LUQwA8=; b= F96LauOv4jR0xafD6/62JCYW0gTBcpc06kBzDdPEIDsoxiAmGy5WsyOnF1IhlT8i AcgO8XkruxQjObTIjDg2CIhSAD06HUO1/er+NNtzgrgVEkXsn1/+lFvSmNwMZC2x IwLMz7QSKFDdxk2pazxOSHu+eAzpVKe1WKoBMH/6tnFwfuGtyeuTL6tQFVVV2Iyf W+c3AUktx+m/RL5aaKLNvz0V43LvPI3r5wtuQPp4H1oWhCY6Oe3Ltk4i7+Q6xHXG q9FKXjDloSIq95uEoMVYfFR412g9CZKmogGZgD7Gyhm/Y5vYYRU1mX4+OBTWD0zp IBRWlaeocyZAmFW56Lei6A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1716932039; x= 1717018439; bh=BzCeqx7GCUwzv9xEfQmyu2hFRTTkkzXFz4XP0LUQwA8=; b=A ue98fcOhRIbn/KQfIKOE0l8+9GOa5RZlCAdwnYhNaxt1r2yS5lLohECzwdYnRzNJ /Qdha0CA3/GBt5us3ysUOAFftFZW82OwcTOLAFrxPe6i3okvDBZG6CVzRKxMwS7W gPqEvl+wNSq4mZ0v/4Z+pxkZAIS5OqBLPyFkFWFhWO9xp7zJe3aqRmsQOLxXZWzN 2ihaWl7aOfiTh4dGFEnKrvQJYgi1uSHJSB36j7QfDCpcv59UVUl0flYpWxXcZFyg 4HPZ8rNu0pCsW5edozyJO5EYcedIjMtk8+bnjEF/LLCrCc1Csb86O2/YprrQmOtw 9mZ6DLA3ccw86vKszpvQA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdejkedgudefgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnhepjeduveehieevuddutdevfffgtdegkeeuveejffejgedtgeeg kefgvdeugfefkeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 May 2024 17:33:58 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, Maxime Coquelin , Chenbo Xia , Huawei Xie , Jianfeng Tan Subject: Re: [PATCH 2/2] net/virtio: fix fortify memcpy warning Date: Tue, 28 May 2024 23:33:56 +0200 Message-ID: <5882415.zQ0Gbyo6oJ@thomas> In-Reply-To: <20240521010105.81868-2-stephen@networkplumber.org> References: <20240521010105.81868-1-stephen@networkplumber.org> <20240521010105.81868-2-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" 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 21/05/2024 03:01, Stephen Hemminger: > If fortify is enabled, it will generate a warning if memcpy > src is NULL even if size is zero. This happens if the MP message > sync is called with no file descriptors. > > Bugzilla ID 1446 > Fixes: 6a84c37e3975 ("net/virtio-user: add vhost-user adapter layer") Bugzilla ID: 1446 Fixes: 6a84c37e3975 ("net/virtio-user: add vhost-user adapter layer") Cc: stable@dpdk.org > > Signed-off-by: Stephen Hemminger Series applied quickly as it is blocking compilation on recent Ubuntu.