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 E74ABA0A0C; Thu, 22 Jul 2021 22:06:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 67F044014D; Thu, 22 Jul 2021 22:06:06 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 7A71F40040; Thu, 22 Jul 2021 22:06:04 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id AAD5F5C00C8; Thu, 22 Jul 2021 16:06:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 22 Jul 2021 16:06:02 -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= mUnQEIb8VYtnPA5W7y5DtDpgzeizcHBB6jTyM/ehwJU=; b=YSZs7P/Xvn19mXAe +FLhXOyAz/PwGWyV2DGIawlt5nfCU6vV+x1Qi1+S4huMZw/KZepMMbIYUyE2HTYW nceB2OXdlafzhXSOFWmv2X94l5rVMmvX3uRW+aldGVcUDK6AcxetraE+8hv6zOpg mxquO/i5qu8SoQF5GkuNEnTM/d9L3PJ7H1EmqoA6RGG8KFInlOah/fHT7a1HzvF5 OPxgINRpk0joaV/PBiPvzjpcToI2qOTzUqZ7CYk7GRpHMpA9/AxuKrCjx2wgLJEi tGg2cs1Jaw8z9OKwWm4rqm+Hr8EFySGkIq1ggNpV1WD/fCR1QXBJFQnTU/FDPOQC 9IK0yA== 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=fm3; bh=mUnQEIb8VYtnPA5W7y5DtDpgzeizcHBB6jTyM/ehw JU=; b=coQhjBE0IRXmDjymLLxTvI7222eU1Lk1bhyF/u/LSDGzg+XaCCRG7xMR/ kVkzM7eFT4U00aDbc5/bev4ASiW1s1SnpIATkudMdHy2rauvRtKAN8HS72jUv49A JigADNAt9AzXxeVYzt7riFC2xXTMc2RB136KW7nq8Lplott6iqMtMtaVSNoiJ+l8 T8iaHofmVU8m9OPAfFzJfrnS05BiKG0p3zbPpIJvH8c781lAnwzDwuX/0KEHUILt Uf/rIH6loq+LDctHRP1D8v/Ew7pv7+pyTgVNbWyPoioCbPhXAjOJ1EiVyxC18/di pWIVoRJA1eF3xodDlh1U/Olm4zT/Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeeigddufeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Jul 2021 16:06:00 -0400 (EDT) From: Thomas Monjalon To: Jie Zhou Cc: dev@dpdk.org, roretzla@microsoft.com, talshn@nvidia.com, pallavi.kadam@intel.com, navasile@linux.microsoft.com, dmitrym@microsoft.com, david.marchand@redhat.com, stable@dpdk.org, Dmitry Kozlyuk Date: Thu, 22 Jul 2021 22:06:19 +0200 Message-ID: <4009345.pl82Gf2dt8@thomas> In-Reply-To: <20210721182825.76c169a4@sovereign> References: <1624495001-16613-1-git-send-email-jizh@linux.microsoft.com> <1625689538-6747-1-git-send-email-jizh@linux.microsoft.com> <20210721182825.76c169a4@sovereign> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] eal/windows: enforce alarm APIs parameter check 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" 21/07/2021 17:28, Dmitry Kozlyuk: > 2021-07-07 13:25 (UTC-0700), Jie Zhou: > > eal/windows alarm APIs rte_eal_alarm_set and rte_eal_alarm_cancel > > did not check parameters to fail fast for invalid parameters, which > > caught by DPDK UT alarm_autotest. > > > > Enforce eal/windows alarm APIs parameter check to fail fast for > > invalid parameters. > > > > Fixes: f4cbdbc7fbd2 ("eal/windows: implement alarm API") > > Cc: stable@dpdk.org > > > > Signed-off-by: Jie Zhou > > Acked-by: Dmitry Kozlyuk Applied with title "eal/windows: check callback parameter of alarm functions"