Message ID | 87r0de4yeh.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8E34AC25B74 for <linux-arm-kernel@archiver.kernel.org>; Mon, 3 Jun 2024 01:18:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Date:Subject:From: References:In-Reply-To:To:Message-ID:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ef5H9eOgVmdk6DLvq38pe0kXv8Yj46+gBQlwmXasKDw=; b=QEG5qBWwaBYrfbt1GphI2tSWp6 8+3phmeQ4/AElJyziRVxOGWDYQPGo34HAc7aeDqSftz3J9SEUhq3Y2eC8Iz5VvSwpXVUpgFcURzuH 2PfdfytvK6HFL2nijgLAifeO9c+biJc1X1ECZte6SgnAMCllMhUQYJPOMAOWpXrwk0i3QENDUNpvz fAjFcYExumwcI/hpV6Y0TswupodT/TfMwf9lUS33Lt5ohrjfEA2CDnPgOQUyLtC74keTtpksMQmNm YTS9LuvaDD+i3gJrlwNTYY/DEIUlIzARSARvmVoatWLxJZVMSeRP72srVXNai7J8Yg1gAWDxK9XRS ZGc2J/ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDwL7-0000000FGSp-2DC0; Mon, 03 Jun 2024 01:18:21 +0000 Received: from mail-japanwestazlp170110000.outbound.protection.outlook.com ([2a01:111:f403:c407::] helo=OS0P286CU011.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDwL3-0000000FGHx-1YNn for linux-arm-kernel@lists.infradead.org; Mon, 03 Jun 2024 01:18:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J+nY7WJmg+HQT5cgpM/nb67Zj7IVdqlvk7G8Vh8WXtJ1PjH8u5lM5GTAf1Kmdps9b5wss61OZpSkZaBXIIsR/uwmh+5CTP8NXTSgJrzEu2TCHJVy2KYkDVpTHosdHMjXVqU6aEXYRrv9/osaSfe00jLsSkLb4KJDjLT8nzz1ZIYUaSPPMpCfzhcnrHsPUrhXkz+g1MPi1i3RqGAVX8MI9eQFaEO5Sn2Zi/NUCf1Chwo6UjZtqEgGYHy/Y1z9oZ+nnYuTqD5s9Iq/n0foqC9OOegKstS4de7NuRagGmEch+2BX+j7GEsGEA5JqXP2ZtoXlI+SNRPNP0lJPOuJBwqSQg== 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=dsEYSD7Dd27JRMwnAGY8OHrEyJa60001Vrm6I50mZv+Q7DuK8Nmd3FEZRoOVJrTdULwshB++i0ctcdf3t+pqQHI3I9sbd643XdBYgfRfEvIPFe7+fy6r/fo08ykOItKWw7RoUnGA+84X2FRLqfAEwFL/BuoWft3oodbvEBgnFOFAUTOVw8C8A+4WCJoE8aNP9ukbXXqwC9S6aEcJqjij0q3A/6h9uslwPZ7jZERrF/RLptTM2WE/QnutXWh7DKzU5vZVL8Kfn+NxblCdnyOoEXW7B+862O/OM/TEvnu8stLwbLFX1D8K3Hh4Xe3MnUl61cEQ3AhjrAJpzkNrIga+Gg== 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=FjrEG/uLwrQ5KsivEjwp8wXjiO/Qb8Pkmi+nvYLqBxfJWE2wyd9kM7uvFyQBhQi0QRdynXSK8pf1iAYRFDHvjs4h8VNxXzg+o9ssOj1ALY2+1e2Q2eiL48wSUh9bfUjyJ73HEkNiGX1n0ERDer+AjB77iIBEMAMfm+cM7WHHWt0= 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 TYWPR01MB9479.jpnprd01.prod.outlook.com (2603:1096:400:1a6::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.23; Mon, 3 Jun 2024 01:18:15 +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.7633.021; Mon, 3 Jun 2024 01:18:15 +0000 Message-ID: <87r0de4yeh.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: <87v82q4yg0.wl-kuninori.morimoto.gx@renesas.com> References: <87v82q4yg0.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v4 3/9] hwtracing: use for_each_endpoint_of_node() Date: Mon, 3 Jun 2024 01:18:15 +0000 X-ClientProxiedBy: TYAPR01CA0053.jpnprd01.prod.outlook.com (2603:1096:404:2b::17) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYWPR01MB9479:EE_ X-MS-Office365-Filtering-Correlation-Id: 33e6b40a-8e8f-4fff-6d59-08dc836b0b33 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;ARA:13230031|376005|7416005|1800799015|366007|52116005|921011|38350700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EnOTcGMfdfdRKXWsaBMgKpbPxy4P8lpMN5k8q0dAAu70Tey99ixtEifd3YFIjCYdEPk9/47cWawikxwHE8HtAh0nnGwcA7Yy4LItyIPCe/tNtM1EnTpJYaOC8jRcKMlxFnsQI6DMeAPtsPjSg6YRJIaWDrETUviUfVbegS3iN23Nhxm5UaL7+ji60PlxawvVFhldi9Wg+CetL5uW+Y0vb1O+vdV84Kzf5IkD4iY068UMexj5UNgYAN+OrVLWwgjLha7ULqYgMZ78pdbQG5lXncOverF+Rld/ensEEn409J9TWfFvlFCluEOaC5c= 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)(376005)(7416005)(1800799015)(366007)(52116005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: VNzVercjvde8aSXTF8K7yqIcAagzJ5hp76o2IytoDwmBgZVZEt+ANK86OGJeSwkToUHaZmHLVS0QIVvS3hHd/bgRm2r2nsX0TyhxYqvJ2L7nHDlKoUmGGpB1bZkmGz1k+wa86Az5Y61UrIFT9mhaExHzxvbCKsA87xCHHZ2b537f74+5A584jsJ/GMcXrhGYcfD78Cz/NVyin3P0arC53Yf1hPOFsj5ZL7sai9VvY8Rd46AgE+Q1ICwSeiPmC2AP5MIdEduOaw1Ru+0DGKUjELNMDIx3CJfJkil5yggOUeExdtWaY4VdebNkpkvCA+wK+yNDozS/+45RhWfgi7R1/n+DDGHpoTPVu59Csn+I4ttb1aZSNCNk80t9Wc6DpTrwbGlv96WW+FSEC1bPzhUk0RHRzpDk8EGUSuZ7BM5P13l/9A0ED4DgbsYdGWLKwadc/bJ6AOyliNjqYMdL/7csnxA30dqiSu2HEsSTrJhqKJktVS+2Np1M2VFpa+9hql5VfqHwS83KlaA/ld5LjUrjaWk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81ZXDXOykXQ4Pp1oOzrTSA= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 33e6b40a-8e8f-4fff-6d59-08dc836b0b33 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2024 01:18:15.3517 (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: DyFMt5AirVVY39Jd6xIgIB6aTxIk1OmFXGYsIgTtu7wK9pj3Z4Y+WX1nCILiucLRKhuM3VfUJsqGQ50QAwkZCrwB0DbYgmpA/boVKWwevQZLFOm7SDJMkPhQ33TH0mmY X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB9479 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240602_181817_442575_3ED0936C X-CRM114-Status: GOOD ( 12.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
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