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 23644A034C; Fri, 25 Feb 2022 15:56:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D94AD4115C; Fri, 25 Feb 2022 15:55:58 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 2BA2B4068B for ; Fri, 25 Feb 2022 15:55:57 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21PCARaC012255; Fri, 25 Feb 2022 06:55:55 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=N0NwhsCSnC+aKgzOoqsurQA7fudH8xp4suCCUF7tuYs=; b=AmAqCw4JiK1pAXWATs5hJ3xCsP+30VYxRRkHolIQ05KMpsSRVh3lhHNALTwviFxxkLBi i8s34MUoOa2hgtb8Pqp8pZ1WCEd1lx1ieqTA5no2pN5udgB9wKBsuEfBbm7UKTqp19n/ C8tgiTBgMZiO/RArJSJnmVEGdV10tcaMAVYNhuWHYLqNd1cbxq4Wo3JHxq8rY9qYw2Vk mAimLJbPWb2O3FJ4s1wZhqkYY1Niqdwb8F2zz5QD7JJ7lm/lSXM1SAK7cfNw40sgIKMg kFLp8923mx+a3WDUNc1p3mqbLp2XT8mmNLiyJ/LizitimVK97Mer9etzLZR/0uz1GxxA Cg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3eexvm8keg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 25 Feb 2022 06:55:55 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 25 Feb 2022 06:55:53 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Fri, 25 Feb 2022 06:55:53 -0800 Received: from localhost.localdomain (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id 358F03F70A2; Fri, 25 Feb 2022 06:55:51 -0800 (PST) From: Tomasz Duszynski To: , Jakub Palider , Tomasz Duszynski CC: , Subject: [PATCH] raw/cnxk_gpio: stop device once tests are complete Date: Fri, 25 Feb 2022 15:55:46 +0100 Message-ID: <20220225145546.1660321-1-tduszynski@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: ZXk5ShPdURvZdd_KSr35hN2UMwRRfmEE X-Proofpoint-GUID: ZXk5ShPdURvZdd_KSr35hN2UMwRRfmEE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-02-25_08,2022-02-25_01,2022-02-23_01 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 Started device should eventually be stopped. Fixes: 0e6557b448fa ("raw/cnxk_gpio: add self test") Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob Kollanukkaran --- drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c b/drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c index acb65afa65..10742b5dc4 100644 --- a/drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c +++ b/drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c @@ -390,6 +390,7 @@ cnxk_gpio_selftest(uint16_t dev_id) out: close(fd); + rte_rawdev_stop(dev_id); return ret; } -- 2.25.1