From patchwork Wed Jan 31 05:05:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 768986 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2136.outbound.protection.outlook.com [40.107.114.136]) (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 EF8E03E47B; Wed, 31 Jan 2024 05:05:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.114.136 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706677556; cv=fail; b=OKs8iy5dviZrz237A12BxbVvGQNCEmrqOid4wmg49FN3tbIuRYbRz2NULLEo7ywghR4SQCpdOHGj4dY8iAI26vwxy7Zy0Q8Tv1+3il4pkEKgZWO0ZR9aDT8wAate2eEL/nXFeLnK4bkOheYuvrrf1ymdXJFr12mlrRZc+uFa1M0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706677556; c=relaxed/simple; bh=Nvq7QcKeHzE+ZOtbTYRqLGT2Rx2kVAk3/OF6Nah7Iys=; h=Message-ID:From:To:Cc:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=KOe9wShif+6SWaZxRrtz5wELSKwNZI9yGihxu/Guml9H12cUs3SbkFfwpu0AVTfPFGE1ZvD6pKyWiUe+ilzZN2MzxXrzNVCXtrMYsIE4IiSSMQpG9eSBZn6rGlzUkth56OE/6cYonOyGOnFdCfruu6LF98o2L/mh/AMNG/gJxCc= 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=O0/VanzL; arc=fail smtp.client-ip=40.107.114.136 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="O0/VanzL" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dwLQpFvyOGBhMsDt+8WvpqOCEikc4QVO8BLiQh/iyQG9Ub5E2+vDLFHK+90VmOvCIHGEhZDFriiR8jo22BEchRcrE1GVnVKd5rWG9EnH4ipUBnOeRU6aoDB/3cT8FPOXk9JBXAZ2dWT4mRhsgRQLa4fPVwfJsb8cCalyKuiSfDgzHEkMSxX/L1BFByQdaOpxZ2Qd49R14vJayvyoXFPu/3oHWtTVdZhOE+atrMRYtBfxTyQJK0mxaiBhZ63YF1GK/O59Gs/+igeNBVVheoJgqVqEW1b1RIVJWW2B5lZ1JZPP0xMjlwh9gk7t13WUYK5aGY1Ks1Ch1Q9hGfDsKMT6JA== 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=runNTlZK0Jm8MaZbDR6/Vs69agLsK4pUhsW2Mcm/nG8=; b=jbRgu5kDeM3vLL+r4tG9QVNbO2+FK0AGhvGtr1aATzILijzGI5ycncc4dl936+C33sXnfwBEL3mL65KLklVJLry7x2yF+vRlAaSZLMkOanrspQFJVTTvt1KK2O/sD2GCGXioLy2u0HMNg243NKIKb8RoNF/cwhpBnsqrMli33b6rtDNtP2VpB2CRk6ak8LuOlQ4qhPAFAL0Cz4W/dxx5zBG1PjdF/qD5sTd23+4aWe9IW4j/fEVU0VSx/9W2urLWZUahRZBZqnGrPZGyUVTz8THj8tpkPbykAWvwGMp1pL3Q+XWH7nyWCy0RWGE+Q5VKpEibS8Y/j8MgvzHRwvLC/Q== 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=runNTlZK0Jm8MaZbDR6/Vs69agLsK4pUhsW2Mcm/nG8=; b=O0/VanzLjiaEw6F3BH2uJ9QVT3ogWmpRv8sc20VSW+tK4pstP+/XvquNViqluTIs84c3fvjAnNTxxpqpX+VDoR0Rrp4/3hBjABmnwqPKo2aPSqRmxpTN1x1NKqQO5HFpmiDhAZyDgLF4q2CrSyFTIF5D/08cWXcPyAsDZWSoGNQ= 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 OSZPR01MB8896.jpnprd01.prod.outlook.com (2603:1096:604:158::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 05:05:48 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::ce8:8f5e:99a0:aba4]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::ce8:8f5e:99a0:aba4%2]) with mapi id 15.20.7249.023; Wed, 31 Jan 2024 05:05:48 +0000 Message-ID: <87cyti6qj8.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: "Bryan O'Donoghue" , "Lad, Prabhakar" , =?iso-8859-1?q?=22Niklas_S=C3=B6d?= =?iso-8859-1?q?erlund=22?= , =?iso-8859-1?q?=22Uwe_Kleine-K=C3=B6nig=22?= , Abhinav Kumar , Alexander Shishkin , Alexander Stein , Alexandre Belloni , Alexandre Torgue , Alexey Brodkin , Andrzej Hajda , Andy Gross , Biju Das , Bjorn Andersson , Claudiu Beznea , Daniel Vetter , Dave Stevenson , David Airlie , Dmitry Baryshkov , Dmitry Torokhov , Emma Anholt , Eugen Hristev , Florian Fainelli , Frank Rowand , Greg Kroah-Hartman , Hans Verkuil , Helge Deller , Hugues Fruchet , Jacopo Mondi , Jacopo Mondi , James Clark , Jaroslav Kysela , Jonathan Hunter , Kevin Hilman , Kieran Bingham , Kieran Bingham , Konrad Dybcio , Krzysztof Kozlowski , Laurent Pinchart , Laurent Pinchart , Liam Girdwood , Liu Ying , Luca Ceresoli , Maarten Lankhorst , Marek Vasut , Mark Brown , Mauro Carvalho Chehab , Maxime Coquelin , Maxime Ripard , Michael Tretter , Michal Simek , Miguel Ojeda , Nathan Chancellor , Neil Armstrong , Nick Desaulniers , Nicolas Ferre , Philipp Zabel , Philippe Cornu , Raphael Gallais-Pou , Rob Clark , Rob Herring , Robert Foss , Russell King , Sakari Ailus , Saravana Kannan , Sascha Hauer , Shawn Guo , Sowjanya Komatineni , Stefan Agner , Suzuki K Poulose , Sylwester Nawrocki , Takashi Iwai , Thierry Reding , Thomas Zimmermann , Tim Harvey , Todor Tomov , Tomi Valkeinen , Yannick Fertre Cc: Alim Akhtar , Fabio Estevam , Jacopo Mondi , Jernej Skrabec , Jerome Brunet , Jessica Zhang , Jonas Karlman , Laurent Pinchart , Leo Yan , Marijn Suijten , Martin Blumenstingl , Mike Leach , Sam Ravnborg , Sean Paul , Tom Rix , coresight@lists.linaro.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-sound@vger.kernel.org, linux-staging@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, llvm@lists.linux.dev In-Reply-To: <87o7d26qla.wl-kuninori.morimoto.gx@renesas.com> References: <87o7d26qla.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH v3 08/24] hwtracing: switch to use of_graph_get_next_device_endpoint() User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 Date: Wed, 31 Jan 2024 05:05:47 +0000 X-ClientProxiedBy: TYCP301CA0044.JPNP301.PROD.OUTLOOK.COM (2603:1096:400:380::6) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSZPR01MB8896:EE_ X-MS-Office365-Filtering-Correlation-Id: dd6c36b8-2837-46f5-c6ca-08dc221a498d 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: sWGcaeQfGgdF6hiBrJakfXooDUQkjpvRKoF5y9CLEDbGvHfcWL9QZvLGEuf8mLAvO3pnjpjx087nTDBaK3w7bVXm9HBPdxYOZbdaxSQA/xGuxmrfUFnT282AFqXu5JxVBRlkfLTCY6EvZaXzzOCG4jodHYwNsqusYlXINxUbaIZceZOuzjSfdHpKb1c5oQXP2yQzOykrCpegVmeP0P87NWwvrsKJ0HVQac45CVEXJed7KwgaSOvEgnDO3MMJknlutRjYTrwT3mk+2h53nUjQ0F6y95dU3FttHav6D57X0AHyOEQRBO2t9l89M5RmjRZ18gQJ+aVU3tN+ix75/R4jagXPJeGMNNjt/vJA8qKOW+wmjESM/3e61gtiWjJjWKB0QUVpfqjXtZY4mzlBD5GdW5qm4/znmPtNeMy8Y5vLQJPecCyNc/7fVTHxcn95oM2R8G8qu+3I3dfbSxmQjA/95f4Zhl0fbpMWyOBBhHEs1xtsI1NsE7velFyhJ9AUqOz6gziytpPcYmVsdJvgiu3H1Tq6W9p3ZUIjNiemAIzGCOwlUlMF0lLr4+kuUTJGvEdkq7p8jBlm1BltLl97MhdfELhBpOUquQjjq4Y/b8HVIpROyFbVwjuOCbHojp6iNYD9yQ9x40/JBFKUsl4z97adMDyr1/1NL8pfkS/vsQUbh0FcvLS7u6Fw6m9qinGox/es 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)(39860400002)(366004)(136003)(346002)(396003)(376002)(230922051799003)(230173577357003)(230273577357003)(1800799012)(451199024)(64100799003)(186009)(66899024)(36756003)(7336002)(7366002)(7276002)(52116002)(7406005)(7416002)(6506007)(38100700002)(6512007)(5660300002)(86362001)(83380400001)(38350700005)(41300700001)(2906002)(2616005)(478600001)(6486002)(26005)(1191002)(921011)(66476007)(66946007)(66556008)(54906003)(110136005)(8936002)(8676002)(316002)(4326008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /JWDzIIC1E7AyvCeKDdv7yj32OfXPi+VvMTgAIzkBVrUvTijL7fU3/n841sZlkFGgdq8dMW0DVcOlGJdoEpCFO74fcMTEX1zwt33fB+spC6F9RP9xpY8So+x8VcLRap2QpUOGRmPIKNqRQNDf+D8UeH/1GXhxc2qSd/8rq+ty+hP57+4GqujS0YD/l6gMUwOLc1U1AmjO1XunIoI8G1lHDhV2t7ixNc0gXbp1tugS8H/5HkYpEKtDJimhOPdksXG2OSnBnelYdtRfjRhlLepy9cIZINvFLTiCSdlHu9mzVocmZCXuH/s8O27q3n9GAigDVlMY6oZ4T5MT3lVVElpgf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gaGeFNUQy2gvFbA5lkxPNg+OgGOiWhuZhKgpTgUWdDoYmn3zX7mp5TbnrvPXiox36iLE7vIxv05PrZzoDvujaiAaPFaaJJ+N4jxwipezFbn4D/JwU+euwLISDkuSITdEo/n0k5riKikzDIZOUmSt7FOwwKkiamD3dXw5yTN/jPbaorTfCBNpHXgjJT3+c5fPHK6ul6YMxGEZyvUt5xc0= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: dd6c36b8-2837-46f5-c6ca-08dc221a498d X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 05:05:47.9192 (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: +BXCKXlXqJH3TCdHEnGbWNdOWRCCnKEqwb4kOJkjbihz6XMtF8ISCOP7J+3yNL9FzXG1u7yBS6ZQDbwJ86ek4Bqotndw/v76hGftCXOJ7+UU+pRrOEofBQ+PwqmcLT7g X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZPR01MB8896 of_graph_get_next_endpoint() is now renamed to of_graph_get_next_device_endpoint(). Switch to it. Signed-off-by: Kuninori Morimoto Reviewed-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hwtracing/coresight/coresight-platform.c b/drivers/hwtracing/coresight/coresight-platform.c index 9d550f5697fa..944b2e66c04e 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 of_graph_get_next_device_endpoint() * 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))) { + while ((ep = of_graph_get_next_device_endpoint(parent, ep))) { /* * Legacy binding mixes input/output ports under the * same parent. So, skip the input ports if we are dealing