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 A1D9EA034F for ; Mon, 19 Jul 2021 16:02:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8558E4113D; Mon, 19 Jul 2021 16:02:32 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20054.outbound.protection.outlook.com [40.107.2.54]) by mails.dpdk.org (Postfix) with ESMTP id 14E14410F2; Mon, 19 Jul 2021 16:02:30 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yz5yE/cp34qgx+eXy5IFfhuaVdwC8ijqB30u8KqD82iCWPIDotrEMG/IMqPNzESTaNQ7+3rjougkajMXxPC7BQA8bRVQhWA2hwqW2MTWvfZ1UmVftbkDdfjvcpVPygyHYY1yopxnX3a1MQdjtAKUiaAl/1QJjaREUVCNmpyi1CZ899eRX38bwTj681emSoN0RdHAszL3F6uZexwkQjUWHjk09jQZL/39A66PwJEsRVZNOWb9ADCdOynL5WxG9FJotNUZh2EcXe3CHnQjGIeGtm7Xtm1VjxFSsR4WS505GO81/P2fXL4e6mCqul/H3z9puJS6j8SwROC/yFRp65zdRg== 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-SenderADCheck; bh=pTe/7tFevnaBB9xwYOUJSECAe5mq3g9rbn5pTOXB8RU=; b=VLUOZt51I1lZHUSZ1YLYeifvWBqo4YQes+XuGmlfLY3JyxaUdLs6rY1S62octBy0U5rMNg6A9I+p8WZ3kTi4r+iL6IBfNbSXJD/z1+FNS+ykS2bksXzwU3OkqdSsowih6O3AaSEH9yxXay0zfiiXUSlAUstqcR42c0Z17XLItHnsion/+pKrpQ5+Ui0C97pII2H9nJUQYFhHDiHefWWAJMfNkvlL+r04ZSw01nHKfUqVB5hztJ/E25OdIza/yQQYB4KJDqr6NKy9yT4AoEUUVdQowZ4aKMZkUmwDquAv6y8m2VXpOlmUkl6qHXBeTyXET+mS10W1+NjGrh45e7pygg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pTe/7tFevnaBB9xwYOUJSECAe5mq3g9rbn5pTOXB8RU=; b=GOWEpudYvAZXGwfk79PhwGUFV9nUMi/syA1++IwkyksY/UtgFjXnYNPb5DSidMsOsUu3oNnSgzUhiwKJKCybH2M5/e587VzLMTrGyiQUJjXNbaOPqBSEJHNp0B5U/6fgwd0BHJssDVWARiGTXvWY3luHP8lVMb3JOe9T7y3c6gg= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) by DU2PR04MB8520.eurprd04.prod.outlook.com (2603:10a6:10:2d3::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.23; Mon, 19 Jul 2021 14:02:29 +0000 Received: from DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::f483:9bb1:cde3:8a28]) by DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::f483:9bb1:cde3:8a28%6]) with mapi id 15.20.4331.032; Mon, 19 Jul 2021 14:02:29 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: ferruh.yigit@intel.com, Hemant Agrawal , stable@dpdk.org Date: Mon, 19 Jul 2021 19:29:11 +0530 Message-Id: <20210719135917.26241-2-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210719135917.26241-1-hemant.agrawal@nxp.com> References: <20210719135917.26241-1-hemant.agrawal@nxp.com> Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0038.apcprd02.prod.outlook.com (2603:1096:3:18::26) To DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from dpdk-xeon.ap.freescale.net (92.120.0.67) by SG2PR02CA0038.apcprd02.prod.outlook.com (2603:1096:3:18::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Mon, 19 Jul 2021 14:02:27 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d4200231-488e-4858-7339-08d94abdd836 X-MS-TrafficTypeDiagnostic: DU2PR04MB8520: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:595; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZFlqN5WzoNWu5aCZb2a40hcOqwriZqenGsO2/oZKszZjlTf3xJq1Luql1eeSNx9tgfgyEMfOEgf/p0Qcku+GSWYWqjUGalyqYpxGUeMXmE/v3Xf6Y0uPhkZw8ZUFqB6uchKkN0R73r+63KIpygD2p2plG0vi+7g8SMz3JlKB0GcJZBlXv3XQOeanHlIEPGHD3TIRQ5nfvEgCx5kl9d5t1Z2HUCoDG3bxIO+zdFPsMj5MwjXPT0+7gQAZxWzvBZh8lVNX7cr9K2m/U+CDm+9Efi+wk0jHGnv6p3cmkKURXAtexyah89xM/bdi5qXD21PYiIM5JWHt5Por9vcXv2SLdSn7LxWro6vpYwTIx0JsHp54hNpThSu8gZFMl2kfMelfqVAkOdz9KBHDas1VKFGrVY5zHrq6EIIUjP5QZV5GqJPc43ywdDiLFCdsnPhYMzl9fz3XQS42qJVQTTtvgeMDXjcn3aIq6p0z41Z9pIruyzdE/XxcMz9ZWVO6p+FZh4zN0sQUXdoqeEHAlovtLXWZ+5RWQgi622AMGxlDIo477wWxkN95yX/pJ68JabDN8WbzIa2UQDwHN0uTDh+meM8q7za63YleCiJ3QVFypEd86SlPCGrnxazB5LpfIeInqsNQsZArk5e1+CO5GrsS1OFBvVvq+dv2aNyKbHo4yjq6AgI9wS9KUVwccKaQgAJS6OcxOdKqfsk/jXQuzfK8wde9vQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8630.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(136003)(376002)(346002)(396003)(6486002)(8936002)(38350700002)(38100700002)(956004)(8676002)(4744005)(66946007)(44832011)(2906002)(66556008)(66476007)(5660300002)(6512007)(1076003)(2616005)(316002)(186003)(36756003)(6916009)(4326008)(83380400001)(6666004)(26005)(6506007)(52116002)(478600001)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?R8umJ9YvML1TGKubkBYh5N6xfDzWP7PTCPQAB2ojSSv3t+8qDJFSO9rEHMNR?= =?us-ascii?Q?MVSe1xmNkLr1uVaaMCzFf/0CeObZa4SXoW0T5aYnMTlc3YCHcJHZsChZrNYk?= =?us-ascii?Q?vAk3OPibAUNm1EyLRA93t0UcSQdF5Mv32PBKj9aqLRazLboplAFEmSPiXV6S?= =?us-ascii?Q?cBUbEiWeoLAfEhL/gGbERHWYBTpoO3UK2MMWuI+HLI+Yj7j7XnbmBBy0qyu4?= =?us-ascii?Q?A0DsqHXyvDriAQAjky01eAYnCkcjRcHRaY7RYuUhI2ZV6Sn9VUxz30vq+8wE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QzfJdvOAYGVHg0jYR+Ga6S68wN81yr?= =?us-ascii?Q?pjFF8kHzEOB7bPgwZVTihEi/XtTBXHuBpRZsRPtKjwicGAYvVOYzP+d/dNAT?= =?us-ascii?Q?C7o0GSSGHQinqnTSM0Jj2fKit6l28MtqQcZZBVwyB6Aa680zcUD1k2u3kcDP?= =?us-ascii?Q?pZwaPYJ02sMOkLDFzuyV7vbi?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4200231-488e-4858-7339-08d94abdd836 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2021 14:02:28.9662 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: S6+RHDUvcImzFibY88/UJsnn6krWRIXRl6A3VgaAExgIU0w4gqh7lJYHI4DXI2yVCUs3ypyyX3FjOlAHjjX4HA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8520 Subject: [dpdk-stable] [PATCH 1/7] bus/dpaa: fix to use right type of memory free X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" if was allocated with rte_malloc, free shall be equivalent. Fixes: 4762b3d419c3 ("bus/dpaa: delay fman device list to bus probe") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/dpaa/base/fman/fman.c b/drivers/bus/dpaa/base/fman/fman.c index 692071b4b0..a14004d7fc 100644 --- a/drivers/bus/dpaa/base/fman/fman.c +++ b/drivers/bus/dpaa/base/fman/fman.c @@ -50,7 +50,7 @@ if_destructor(struct __fman_if *__if) free(bp); } cleanup: - free(__if); + rte_free(__if); } static int -- 2.17.1