Message ID | 87r0cws7u2.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | New |
Headers | show
Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2052.outbound.protection.outlook.com [40.107.113.52]) (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 188094C6F; Mon, 17 Jun 2024 00:59:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.113.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718585948; cv=fail; b=hU0ohcZJ9oT+1IL2GT4tGK9uo1+1jWoLqZQTwde1UAIq4RBlvzhnRttdF0Xz5uuhKOr1RcxNvOsyzaX4qIKCrbZo/l5RASaw+ieaplFvn/ljhmphd5oQwyk6ACPTFqC3nlIkQMSlrDcWMsFwPgJ7oMyTgOWHNiAXHfX20CZtCSU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718585948; c=relaxed/simple; bh=jMWV2tOCFT+tH5YSEcEM1qE+Db6K54NPiGd0CJ3jOh8=; h=Message-ID:From:Subject:To:In-Reply-To:References:Content-Type: Date:MIME-Version; b=dSaq+aH05WjA9Bh3O6O9wEznKsnrUNI5Wpidjrl9dFwtbuujSV3ZySuZrblP/qaS04ftyy5s4F5o0PqdS5+p2I7Dgykh7Ej3Vj4j0VQEDz48Q/qPtXr57jGfKKgC2U0+XSUnk4gWMrxWTo9fwbHvvYDnez/xFRIEBrjMrH0qa4I= 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=R8NAThNn; arc=fail smtp.client-ip=40.107.113.52 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="R8NAThNn" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IfxWBW+476M+uE3O3efU5T9PYgS0sd3cxhM1KXD87CJMTFLeK2rcxSMOTIqZpy5NI0vbMKC7yeoHQqOt5N28ji5pnKUU6seoKAPrDDIkBZWRFzMaH+wzwh9+116nD5MMdreIzHwOP0gmB8C1iEg8ETixYY2HFW2zC1J+ultq6rEfUz4/C1BVdG1MAZrOsymTHW4r0Gj5kRKYUKk3YRGcj0I1UoONHvwPCau5tkQrO97Wjsn/G1TQcMbce7RrDNBfy/i7hQS96hww5IdpAgsaLb9zsh0OGgiopEt5gErEil7XN8C6C+6XkBP6om8rG9Pozfl/MWRhLdfhoiA0ChxDCQ== 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=REllXbKiXbTph1LoY5sZTemVlDAhDPlDjVQgZtSkG30=; b=Chp5H2oOwHM7etQkKQX/x+ddY28KCkkoT8vbVwOOFYwI55p2snhZCVUyoU1w49Gd0tPyocC5piUVfGYl4vhs8d5IYt7i8NGqgvgKF4A3Xp3KUy3jO+KSPYNjfAvAB08c8mLPKTu9Akfys8fUASbWg5aqOSNjEEymHUIFfckwiAwnv/drkS2Qgofso2RKPhabHWjSLaRZVH2JNM6iWSHdlAGKqi4hB2ZsGqFOLefqf3fFQoKCVZKLEpBfeyxx3KRPYudP9BGPCMicDX3UZqgrIioWBlEOaTEtV4u8T7+vXjZ5yJydFoW6jwpYIIHcF73PMfNQOaaDVP70Ptnlb2jO9A== 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=REllXbKiXbTph1LoY5sZTemVlDAhDPlDjVQgZtSkG30=; b=R8NAThNnItzALlE7V4pMkbkF5WVZY3Zw4wSelVNC1pSM+/ZeHG7KFqd4SsWKhZpzI36TgP2ad1a81521fHh95Pk+gkYuVn4TY13ZioavuzmaCbQPExDvJBkPSeM3QcQlXXANBCSSUI0yrbxfczcvLXW0iRMZG+b9mwgNgEYyzBc= 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 TYWPR01MB8560.jpnprd01.prod.outlook.com (2603:1096:400:13f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Mon, 17 Jun 2024 00:59:03 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.7677.030; Mon, 17 Jun 2024 00:59:03 +0000 Message-ID: <87r0cws7u2.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v4 resend 3/9] hwtracing: use for_each_endpoint_of_node() 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, Sakari Ailus <sakari.ailus@linux.intel.com>, Hans Verkuil <hverkuil-cisco@xs4all.nl> In-Reply-To: <87v828s7v0.wl-kuninori.morimoto.gx@renesas.com> References: <87v828s7v0.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Mon, 17 Jun 2024 00:59:02 +0000 X-ClientProxiedBy: TY2PR02CA0057.apcprd02.prod.outlook.com (2603:1096:404:e2::21) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: <linux-fbdev.vger.kernel.org> List-Subscribe: <mailto:linux-fbdev+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-fbdev+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYWPR01MB8560:EE_ X-MS-Office365-Filtering-Correlation-Id: 2c37d009-aee9-4f98-4923-08dc8e68adf9 X-LD-Processed: 53d82571-da19-47e4-9cb4-625a166a4a2a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-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O9lBtBPevpOWiuLJ1hwNxk0vz/rOq5vPY9AKljDw8zg7cYKZh30ZUF1daukPKVHJBY/siJlfn7gIXbRvoEw8643kUZvNVWLzqXPstdMz9slxhUJEmIAisEzYwlK6bA0exATMeiQZlQxhOSVmC7S9Mbpf3RxVqZvnZsQIXB6laAxGoNRn4voPhb8Fcn/RkBmW9nyyB58MhSmBGWolZ9eXN4WfcH1gYxxq+5vtpZ01q+uWT57oVb51CPvXpTd2oFjfreoQpzupxB330zGByThROkYc1bc0mO028nQeyp0RQbOoI642FlaKF4QeZtT3fWA8A0XOdI+BNNLVpvqyGkaHkfiowiJ5AxNccN3nno/aVWsBKtpP5oX05uwTB8Kh/6qIsMfMGMaq99o7zfkboDKGOKHzVtWWKK/v47AkQ6 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:(13230037)(366013)(52116011)(7416011)(376011)(1800799021)(38350700011)(921017);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: w7pLIttDjzI7S7KlecPQ7VRPbqrKROM2iDTlNnCfDALZFV6DNVKpAJlyEGZm6opwk/YW/V+FDb671t/Jk/DdOyXOCDqJQYBkTSPaITZByi4meFMZxeIMBcjqAovu6xi/YZVmYhdmQfiDa9Ox70vBAMIUD74qSEfratVU39zCZ/+gKlLVrDFBNqF+m1tlGmL4VuiMEgp31nhA63Jf73AT89ehv1dW78ec5EpTpahi8LZbXBIgWseTalL2vDQEoqdgSc2h2+TQYAjMe4j9DgFgeX6Vli8vdqwctY7dm/Aszd9j82ERnkHhmeo6PMXzmTI0MF5S4OG6vsUMfh1mGtGH0fqAJ0rFnI0cST1wT2YPooqmIQmHXzpobF0RG/uDHZGuwwTRhHJodCFT4Q3jfRJvH2L5+jTOcv6derxYdsYXP+4QUBpk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p42gp4NPrgqEKue09g179WYQ6BAqUrIE9X5rs38pSjeYofbiXrhbifCiQpK6vO9fqTPuEzZv/M/H7OTsCqn03f9pOmkZzsL4nyjtNa/HJqvrB+UL+bIog8K1KvpEn8SQr4weQ= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c37d009-aee9-4f98-4923-08dc8e68adf9 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 00:59:02.7628 (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: 2CeeV0aW6GH2xh06C3w+988UQVjRDgEfax6o8BKQIq8++twbDoJNcCjsZImUMB+Su79w+GsigMErXUed+2ZUfGD2EoT7KNXPGDZt5hGJkFOTmaUPhUsDsS+/pIwRzXKo X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB8560 |
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 9d550f5697fa8..e9683e613d520 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