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 DD13EA0350; Tue, 22 Feb 2022 09:28:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6512240DF6; Tue, 22 Feb 2022 09:28:25 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 1380640DF4 for ; Tue, 22 Feb 2022 09:28:23 +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 21LLmbaZ027826; Tue, 22 Feb 2022 00:28:23 -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=GC8b/0S5DcbCHeMaI/7hLPD1nOsBoT5cQP1m9vF8lgo=; b=LRj8y1m4g+XI08kKsAowTkgbDlk+VjNdCyIUHJ6iQeRFWRu1oJSDtXdu2khIwOW8flgW jbjbHlg0oA5oDGiQPRc5/17mPGwNMRIEq2rXUj1BjF5rdb/YHxFZ+h2KfsNAwL2armm+ xtmHbpR5Fid4vHMjkzqalWe3IvL0QVtZkVR4qTCSV6iu94qU7+3K718APn+V/YbaDxSl E+ijs7Bn2H36uVfK9RzSGKjgkTPVVGkY1hZUCrpcX9ES8PXZs2rXltbf5w3AMc8uZf1q fEZdJnp4uywvNdV0BqvzIUn8Qs+tOTzj3u402aeL5bDqoidhnSrwlnn/HGIKckDGG9hw Uw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3eccerbbgy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 22 Feb 2022 00:28:22 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 22 Feb 2022 00:28:21 -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; Tue, 22 Feb 2022 00:28:21 -0800 Received: from localhost.localdomain (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id 04EAA3F7040; Tue, 22 Feb 2022 00:28:19 -0800 (PST) From: Tomasz Duszynski To: CC: , , Tomasz Duszynski Subject: [PATCH 0/2] raw/cnxk_gpio: fix issues discovered by coverity Date: Tue, 22 Feb 2022 09:28:15 +0100 Message-ID: <20220222082817.1057701-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: jaysApjqSMyLQxIP7JmgX4LTUHvhzKAR X-Proofpoint-GUID: jaysApjqSMyLQxIP7JmgX4LTUHvhzKAR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-22_02,2022-02-21_02,2021-12-02_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 Fix issues that were discovered during coverity scan. Tomasz Duszynski (2): raw/cnxk_gpio: fix resource leak raw/cnxk_gpio: check pointer before using it drivers/raw/cnxk_gpio/cnxk_gpio.c | 24 ++++++++++++++-------- drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c | 2 ++ 2 files changed, 17 insertions(+), 9 deletions(-) -- 2.25.1