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 5ED9AA0547; Thu, 9 Jun 2022 12:31:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F2ED40689; Thu, 9 Jun 2022 12:31:59 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 59DD640220 for ; Thu, 9 Jun 2022 12:31:57 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2592hDlG027222; Thu, 9 Jun 2022 03:31:56 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2172.outbound.protection.outlook.com [104.47.59.172]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3gk8an1jwp-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Jun 2022 03:31:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YLnRbrniT68/bd7Pre1eYrLk4GB6zyTR/32WB/JXy+nuAf01tXGdKrAmfZgenQ5+fguIFA+1qdQke/c6M7zImw/4QPC/oP02siCocoYaxfVLQoKT3BtYdM+fMi60s+3e1YprBz0sWrHGJOigbdH1dV4jA6EPixuXdfxk/3621OhduF9QOwplV8eG/LDW+kSFAjqfG8OBSn0UGjYwJ++0+oTOL2UvlMXo4yXKWnuEuK0L+c0UxCE46YpVVjxyDi42u/YaYpdEzcTiU03rjELWfRf6HlA64tUCiCbc+OXGB+3FQocxVihTB+Ha2x+jacglwhc9Px09UqywVvzKeBhTOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LF4wVhYpon+c7TUmKFcMyPGe/CvQmj3rvsTSGK6JuiA=; b=HIe96ITKo/Aa4AP3LXzn5KYHyoWDkYsRcIdSKvwizD6hcYoa8zt6Q1Mdh0CqhFkhRqpTt/BpFO/hJFwCqL91pB3VwdLAj9aqAyfgatSTylMky8+bTi02sDoRUFcCDHBX12OXyTHhPWlPYuC6DK2BlgTcwzRDqJDrypMfEJo7Wtho6q1OJVnHp5oZf+w771PXl8d7qQoeUKNrBpMQQc97Jb6ppVInEU+WitHqL3F/TXsnzsbYpWXMX3yOqfVTDPeSSAjyx3ZVRw69kQVPmrQnBzuXE6eLdIOudZbvc1+camUZrlKahitPYTOfTDB4GzfXHA2/Hb4lGLjjO88Xid473Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LF4wVhYpon+c7TUmKFcMyPGe/CvQmj3rvsTSGK6JuiA=; b=MX1DzGKU0nYk+aHLc4jr2omCARvcs1OGKbDAsvD58+N2kt/fMz9UfMzuQzFtlCQoQFXxWG/rS0zOdHXuSAd5B7duOSRK3ze0RhBvNqc04qXU0co288x2yg1L75yRV97FcP35dX5JTAAWg3xEdF0Lm76UiquetSKGlr4wC7h/jdE= Received: from PH0PR18MB4672.namprd18.prod.outlook.com (2603:10b6:510:c9::16) by DM8PR18MB4485.namprd18.prod.outlook.com (2603:10b6:8:32::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.13; Thu, 9 Jun 2022 10:31:52 +0000 Received: from PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::ac62:154c:f5c2:e641]) by PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::ac62:154c:f5c2:e641%6]) with mapi id 15.20.5332.013; Thu, 9 Jun 2022 10:31:51 +0000 From: Anoob Joseph To: Volodymyr Fialko , "dev@dpdk.org" , Ankur Dwivedi , Tejasree Kondoj , Abhinandan Gujjar , Akhil Goyal , Volodymyr Fialko , Fan Zhang CC: Jerin Jacob Kollanukkaran Subject: RE: [PATCH] crypto/cnxk: fix condition check Thread-Topic: [PATCH] crypto/cnxk: fix condition check Thread-Index: AQHYe+NEETa0fe7KsU6EgnZGIJ4Nm61G4DIA Date: Thu, 9 Jun 2022 10:31:51 +0000 Message-ID: References: <20220609092731.131856-1-vfialko@marvell.com> In-Reply-To: <20220609092731.131856-1-vfialko@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ce5bb037-515a-4cc7-704b-08da4a034460 x-ms-traffictypediagnostic: DM8PR18MB4485:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OmZN5xl9pJZlNUruv1pcu/M4EAaySQ86lEGsXKVVKutVRJbF8B2ouDWeyXBnP6oLX9uZKRzWbIFgNRPTI6NPdxoKC79N92/GSDnJRQyxv36sydZIi79WLVeai/BC8nEt6QbRD+BQ6Ai5joHwncotTaQ4jq8M/9v14FjCilRzeQLVBrmLRdsQIy0y8vYZ+myB4gxUwf+pgn7J95tlGXS4xhGL2NqswMwTLNIlNQ2xG8TbeGBq4HY8y/xkUeAegNarY8X6HbclQvOzdMaMkLviOohl+oaLqkRCPnSE+e3oQ7D/7dWM2JVI0MJZTq1OgOdK3fJMYmUMWgPiBDxEicWygmZ/Md+4kDzkmM958vrkydNOpBFoIo5CFGoULTZx3lq4oGZt3fje8Q+Epshm5zhcs4lN1/vnlNutnM1OVTpjHFbxE8yCNzEIXPRdZqFPqia4JDH8CfhLvsF5hUNBWSvb1zTxHETlxpQmWK555OEUfI1IW0hCaKSUOEEWBgewTlJjN+TZ88sdN7DGK+lZOjH3JP0ZdZ0Qe1F+RkstPfLdtR5n3DvNXkiSjJnxjL3icx1A932Z6JVu2inYzjXqZOyd+gJ9fDiDMBk1A139mEtwG1oY/d8TiBQb5ysCxNC6guDMKZD+HGlprGCMo4FL1kgrGt98Ow2BmzSOW0MucIaTsvJbWDVM7xSSSbS7HZ6PdVT5hVkOntbxMiEg5uRpwNsj1Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4672.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(33656002)(122000001)(508600001)(4744005)(6506007)(64756008)(4326008)(110136005)(7696005)(66946007)(55016003)(5660300002)(186003)(66476007)(71200400001)(52536014)(66556008)(8676002)(2906002)(66446008)(38100700002)(8936002)(26005)(316002)(107886003)(38070700005)(9686003)(86362001)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?cr4/WcTrcglK3DSfg7MXJl9IRzQzzN/irWNHW7mDPqHZXa4HepGNS8ei0eJL?= =?us-ascii?Q?dj2NITw47dFYl8gpMPj4IZy6nnDDFyK5TDStbWPHJnJNJaJ/o8PaP0ENq5YB?= =?us-ascii?Q?wJcE2ilLgmBxwX0okX2GoU0KaQNFNuEjejWI67C+sqCiDdYhoky0aYGhiRy/?= =?us-ascii?Q?bncG+6jqNP4uORhezjztradZi0QqNrFP8xasKaOSl9LH21zGaS/ZaDMb41Mf?= =?us-ascii?Q?2/aJFg9zEjL9WK4T60t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?Q?tIKrsreP57SejOe13FwmtxcZWCJP5qrLWfstCDJ0d9jBY8kQyKgenh5ddU7p?= =?us-ascii?Q?EREXDv6LfKMOjplswX9o8tolUQFnsVISWku9uo7OECwgEUNM8FpxpsqhtFVI?= =?us-ascii?Q?HZCsbJ6DDkkKWyImfPhtlaTF4IecrVLMioOaFvR88ZB9Z20yJu1mbg6ktf2f?= =?us-ascii?Q?M278U07cfIUDBZc4bZyHrxRLhuDekbAPR4kZbR71o5Dtu/slJ3wR+js/5+/k?= =?us-ascii?Q?unKOM6+GVWIIszeIj+N2dYXZAJiOzgQ01WMEU69ixoTaPypw+qftmSlT3ox3?= =?us-ascii?Q?RpEZiCIUT/+4WO5lvcLNQQjy/O21dsJLnSOVYXjuva/v0KnqAMwZ7p2VUtTK?= =?us-ascii?Q?OEtJODiHAU3sphFDX8a+2hLjJcf3uify+zRSumxu6tbKkMGMKIDYomQZnkje?= =?us-ascii?Q?XW12RgoPVesKNGClv2YYJzjM+NSPaTHhw9tljUdTtNfdNyhxcoNYI57kQHdk?= =?us-ascii?Q?arnXwRhVl27zOpCNmluUyenL+WPQ3loVLW2VOiQTS+tiCr3aMVZf5zrMTnKs?= =?us-ascii?Q?t4ts9H9swHKfpgn7TCxw8EJX5Zw47HH7r2eHWKMEJg26uSQxrrSFmu82Xne7?= =?us-ascii?Q?PPGdH8qSlA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4672.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce5bb037-515a-4cc7-704b-08da4a034460 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2022 10:31:51.8247 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: P7AXKj0Erev1buR9t7o6crjqWvWuk+jX4pw9Yw0g3PIyjdrtX86AdDxXAYMKUbqpcJEL99RZPV0tbCKV5WhOog== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR18MB4485 X-Proofpoint-GUID: IFQygPZP8u3UgYolsFQrJWDtF4FmPngB X-Proofpoint-ORIG-GUID: IFQygPZP8u3UgYolsFQrJWDtF4FmPngB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.517,FMLib:17.11.64.514 definitions=2022-06-09_08,2022-06-09_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 > Subject: [PATCH] crypto/cnxk: fix condition check >=20 > The value of ec_mdata cannot be NULL, instead check that value of > private_data_offset was set. >=20 >=20 > Fixes: c3a498c01121 ("crypto/cnxk: add event metadata set operation") > Coverity issue: 378861 Coverity issue: 378865 >=20 > Signed-off-by: Volodymyr Fialko Acked-by: Anoob Joseph