Message ID | 87zfun57v8.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | Superseded |
Headers | show
Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2086.outbound.protection.outlook.com [40.107.113.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E1AA39799A; Mon, 25 Mar 2024 03:05:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.113.86 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711335921; cv=fail; b=FFF/yakoiayhdvT8Xx5xc0N/i5JWVJLFYG3cvMhIoemwXkgTgTEaX6qWXYiiVZd2Z3WxMHgjsVFNoX2WnSCMeH+4BWFmrpAz02Yt0m+SeVjVPO/zSpBY9wLSwh2x2B/qdVEvi1CLF3EDfv0tsOORIAnhwPPD7wFnh7zI3h6VjX0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711335921; c=relaxed/simple; bh=HwIcEEBok+YwY5uIeiAIVRaOEW9qrgNzSuv+25dGnJE=; h=Message-ID:To:In-Reply-To:References:From:Subject:Content-Type: Date:MIME-Version; b=hV1DdM6SDvrvvkIRZjBT3z20gtd5l4ZusKwOdzaL/VAZwlPNrSNk50olgAxyGFIRbSYSvD0LbxJrndFEyTbl4QRFP5f/iiXXVorJh+yy3BRDPX0LvpK7+cf/RLBh3WSJbkLXE70U8dZjJMDysZ6hJPPSheEqdSFbZYiEvlcqXMs= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=RlwiPfR0; arc=fail smtp.client-ip=40.107.113.86 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="RlwiPfR0" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BUA/e9WTrbsbMW05CCNlnYBoP9yZQZpaGHmxl3Bps1OQAbm6Dzqe/L4ax/jmcBPSpyTqArYr4R0IxXfRruWfInER9sY9TY6qdZaIrLM5C1mHu16yqh+kyc4ZtVMFmjn/obMbucvFoptFRlzOeFe0K9WSUMyTxY7jSwVj+NEfmX5lb/JyQk+L++jxZ6EcAOLhCd3y6hdGUD6RVbDdDXCTt8OWkbQqp1kJdyFqRa9Uy56fseH9s3vZchjiV5dnGn0oYhXpFKih5DBFarAVl2o4UHTXcAxZ4eRjLFKfWc3/uE+0lZig0Zo59BTRMWDsslB/cW65MRfSMf2CwH9yDtVtTQ== 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=+bbQqXVHzVGktvMbxdHS32qeD6T/q73gw92h0AbcRqI=; b=aUVSV9O0BvOIlf5NwBXOmROxCsnIfDr1KXx9O5h3cIpnJVJ6BrSX8QV2aZgTj4xKTywOjM94DjQzvF2sER3Aew/swZuVoS+T/mIT+D4ZnR+gRFB6sFWBaeNLkzV6ZpkRAJBbdJHF23wO06yFfW9K5d0RxEIwCNBcQVSPqiBwSBXJgtpddGloanYtkHRgnxQ2kZJ8SEVbhqKLikywLa3m+66aQY11gml9dVVfV4oEFyGyFgSc+5DQjNSvMjcXsS52fD3WYmf5w/E8XrUgvwJSRxoQ5TjPwzWLbyRawMgtUnSeMNdAZ+1FjLpvAdKTQC3Eqmk3s72GZqSi5cUfrkvCNg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+bbQqXVHzVGktvMbxdHS32qeD6T/q73gw92h0AbcRqI=; b=RlwiPfR0K1fk+OlDwPC637UNVOb4gcyUfhPOhHJcHJwXK9dLRia6JaTzBMxxvLmH4vsPKqY/f8UUylejJtl5w8/b75D/0Y/YaF9puBzbOEolWoTGf8eJIqlHq+WbGY1uT23aUjTB1Eo5w9kfkyFDXuupU3xsHocHHyA34cpCAx8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by OS3PR01MB6966.jpnprd01.prod.outlook.com (2603:1096:604:12d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.31; Mon, 25 Mar 2024 03:05:16 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::131e:55c0:a4a0:713b]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::131e:55c0:a4a0:713b%7]) with mapi id 15.20.7386.025; Mon, 25 Mar 2024 03:05:16 +0000 Message-ID: <87zfun57v8.wl-kuninori.morimoto.gx@renesas.com> To: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Claudiu Beznea <claudiu.beznea@tuxon.dev>, Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Eugen Hristev <eugen.hristev@collabora.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Helge Deller <deller@gmx.de>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Maxime Ripard <mripard@kernel.org>, Michal Simek <michal.simek@amd.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, Rob Herring <robh+dt@kernel.org>, Suzuki K Poulose <suzuki.poulose@arm.com>, Thomas Zimmermann <tzimmermann@suse.de>, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>, coresight@lists.linaro.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-staging@lists.linux.dev In-Reply-To: <8734sf6mgn.wl-kuninori.morimoto.gx@renesas.com> References: <8734sf6mgn.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH 2/8] hwtracing: use for_each_endpoint_of_node() Content-Type: text/plain; charset=US-ASCII Date: Mon, 25 Mar 2024 03:05:15 +0000 X-ClientProxiedBy: TYCP301CA0068.JPNP301.PROD.OUTLOOK.COM (2603:1096:405:7d::19) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS3PR01MB6966:EE_ X-MS-Office365-Filtering-Correlation-Id: 65a55b77-2e65-40d6-e4f1-08dc4c786550 X-LD-Processed: 53d82571-da19-47e4-9cb4-625a166a4a2a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iDxrdGGZGxhrOfBhmSub+1Ko1ThA/ZnaNfXgNMmVlHBAmbBUARxFnvMKZI6RuQTqe+Xki5jjlRCPLzWQlCWtUkgFfecLLEzmTGwouXBQjN+iQf50Ha0MqpuBImq871x2qVmQRcjvtnoYFyh1qxesc+C6giaVi/Sq5S4MYd9XQPrAv3QAfwl9tAkI9NKXDjTnf1brcZ+PhA10dSVe4euyZihMs0MDDisSQUmXDjKfs2qWPsHe/Y+DdkXvyz0YIs+RRG8TNgjHWWGnX9t0qWRPZ+7vUPGP1IhPGkMeUEfrMyMAG1dVeClmmHcE7gSOXmoClC7Hz8yf/tOo2gxcK5LQm+e+mrNxD1Fp4hFnIe4fV+RtzBZWpHeMcjsd4xGjXkHK3JdV4rlc/RvRn/pbN8Hkj3BP3fyqhHv/QwkzYJq1wcJai9hf8cBrA9b4W3UiH7HQzSxgG8tnoAw6Y1qHPykNpnkyCCAX9u/nXaZ2ipNkfMCZnOag0g69PUUvZiOqrRc16L1FA1OFFJXZKeMb/ptbYp5X9JbtlmlUnbUisZNZq9o8T3h4TRL9y8K7JM4zjqhqekvFsr9mZKGVqccOrwvAklBt3Ebrtj/ZnOr00GaDLzr/L2Ksl0NkiTqtHpvJD5A4PVHz0g9OkZ8Zswj2uc0pW+75ZDOEl47AW31OMZ9+Y/euQLcyKFy5Tk8yFU1EElQ4iMDXKK5uVgdOaJSIIf9Vj3zyN8nBHpzrl0UXPXjr6x8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(7416005)(366007)(376005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TuD39Egpir1QeNBaHckNjVFGQxtWqHq2BoTh6vPt0HtnDUrYYQGzLqwKUALNHqeCOPB39UGk47ByV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7a3W4CCBVYaW+0o9Zvi5jBOR/8LL/hIxDVHB9unBxz96oJmVy3bBIxkgJj87LMX53Sk2O1pConfg7gLYh764LfE2wEPUp7pG0MxFi0Txb2rua1DGx6ULAibTiBGzPNZnxo/D9prftQm6+IOKF2XftDOL7oO3/hDwf9nyYbEQiL0Vk4MffQQKjKS4woFrOU0gfLmTB8rgUSExVLIfnjb/8QPUzFTCnJInAQZ/9hcG/VT2MBoMRhGrjg4oEHNT3jy4y8NJhfC91V2xX6pTY84EgvxFw72nkEZAt8reRhmSpyj94yl4l9EzhernKvtb42ZhilDYTeYcgOKdopHRdb6TGDKHes4lNfSaNpthM7mOwv+y45SZBTb4XRk/VArVCFN9cJ8pT40HP4cdujmUVyx2e8fN/ueMo/m7y0XCUNfTMeN0lFEthP9vlP9O3kQO3vCsf8eaILOH9FK6/KHNLGrhoeS7Y2xAbVI= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65a55b77-2e65-40d6-e4f1-08dc4c786550 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Mar 2024 03:05:16.0403 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EJ0MsNKF8QKJbxghPCYcrUx2UGtHQk2Tw37JB2Kpy9yyDlF8Oz/kyJaA85mXzifbMRA13rH4HiJran8PvWGhDTzKL+A/t+eTG8pVyKzuoSnFjyZZUakaHvscg7TymtJt X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB6966 |
Series |
use for_each_endpoint_of_node()
|
expand
|
diff --git a/drivers/hwtracing/coresight/coresight-platform.c b/drivers/hwtracing/coresight/coresight-platform.c index 9d550f5697fa..e9683e613d52 100644 --- a/drivers/hwtracing/coresight/coresight-platform.c +++ b/drivers/hwtracing/coresight/coresight-platform.c @@ -275,7 +275,7 @@ static int of_get_coresight_platform_data(struct device *dev, */ if (!parent) { /* - * Avoid warnings in of_graph_get_next_endpoint() + * Avoid warnings in for_each_endpoint_of_node() * if the device doesn't have any graph connections */ if (!of_graph_is_present(node)) @@ -286,7 +286,7 @@ static int of_get_coresight_platform_data(struct device *dev, } /* Iterate through each output port to discover topology */ - while ((ep = of_graph_get_next_endpoint(parent, ep))) { + for_each_endpoint_of_node(parent, ep) { /* * Legacy binding mixes input/output ports under the * same parent. So, skip the input ports if we are dealing