Message ID | 87sexu4yes.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 5F358C27C44 for <linux-arm-kernel@archiver.kernel.org>; Mon, 3 Jun 2024 01:18:28 +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=hdB3ax/TZ4+DliBDLREecy+ojG3Dcwg38RlyCSH+Zlk=; b=4mx0JisG3q0IwSD6H5n6sv/0pf 1iZcXGgY4LVyUWAckJs7Hq4iwKK2lLz0vQucrZAVmaE44eZT6zGp6Nyr+yzzOXDObMa/R6MLiPBQ2 LNzuAinqHYJd8/0RqmrJKB5qQ5U1p+vzPbGJAtijgQelQl5bFOgeTaJvGO70rIloGm06UqWT2qr92 W87iCAVAOSPmn8bcCmnjIRFgzuT/mXxZpCp8H2gaM77QNJUmj1Cp3chXtCrcPSzVVfmByyl0KDV64 qVcoqrZiZHLe0s4HKdxsNLbVDr6OfDC7KnhCgmaSVjViGFRfBpoQ7VTuJfgGN6MqeTLozgNQ3wSRK uc2Gi/dA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDwL4-0000000FGPM-2pFq; Mon, 03 Jun 2024 01:18:18 +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 1sDwL1-0000000FGHx-2Zbj for linux-arm-kernel@lists.infradead.org; Mon, 03 Jun 2024 01:18:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l6zLaNaYHLjBMoI0Tg/WRzGzPiWoPnDTaC39q0yvHEH+nNuP403qKg0suKTKsSsi1nd0c7BmGXsD7nFruuYKMsYPCmPEE7twfdj4KSlNkiAfYiM0dRmdgkBsLWC1Jr49VJTAKqNeXyJZdcgH7AXL87LV88HhTIA595d3jaZQBgPBwiwpIggOEYfEvKhJNtQR7WgeSPZx9cwU19oHA8NpdU5Y6NuAsGGrgOJWgn5yWGivgES8VJY8SKCOUw7y0TMEW5NRAwVc4gg4AK1xsh0HNjZkGcDXOd7bEwt2Jbz/LCcQu5iyxypu418tS4pILYF4i5N68DVkBq7Vp93deIfZng== 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=q/hA+X/NDL2DHVcXTjFOx498moK6jPHb9pGdUrBCLk4=; b=b1E/qm1WRTbDaS+inqb86fgsnEUqPdmCzNVl6e/ar06fgi2INewFxavPKdArzqJcJ0S1Lac4cz4v5RuPhIdnwvonZS7AxnvbLM4gkSQpRZAgLJn3PfEVoe81mIkW9ZQgNfxtkFlixp4jrMNLAvI0Ht53Nv4n9QqscAfVukePd6bqAreT76wgzV6jVLLT1aqJDI81ySiFyrwizkp8669qZtr5a9gXOMZinHmslrFgIBpfN/FaqLSQkBNy/YCmrEOCS0hp6o/aE0hZzEtlNDfe1E7HVUCAQwvfhADi8m+PxYobElmBXTlNMrsLZvL4sBhxsSnmank/MtzFZwn6mgNCWQ== 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=q/hA+X/NDL2DHVcXTjFOx498moK6jPHb9pGdUrBCLk4=; b=HsLlZ/7JnGWbEnv2rmDmJtPWTuZ2hvRofSJFQVBAOrIx3pKdj9kdjFDwWwjj51K/ckOXG0etAwrf+1/E7U3SJYStdr8sWZgjDSRFUpwzJT/b5vXVqoSwXLL0n/+MXTtzBRz6eD7gKKArdqxQhXJ8QmDE/bMd5ssyr7O1F/wBl4s= 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:04 +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:04 +0000 Message-ID: <87sexu4yes.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 2/9] gpu: drm: use for_each_endpoint_of_node() Date: Mon, 3 Jun 2024 01:18:04 +0000 X-ClientProxiedBy: TYAPR01CA0056.jpnprd01.prod.outlook.com (2603:1096:404:2b::20) 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: f36f55ec-4dc8-4427-867b-08dc836b04f4 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|38350700005; X-Microsoft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ImxsAVstbG043oaLA7n77VKuG9VWrj03ChhStUS6utVy+UMMqpMDav3fpwmd7MM7Mu8pV03WYUKlf8NxVeZSAQANRP2jrxMhdUP08QWO9QeFdrEkGZkXRz7pZ2L6zqaKiIL1I5BWefnUlDGVamFTJ1cWXrGkzInieH7txK3fTl/ZGpYgGtD/bdkHb+d8WHgnsVe6hl7yoYa5gRWIacWuA0ULm9Vm0tbU5TX0iU+nPSGnykN8WOAGszv7fiJHwTFTFnLuEEsxLiLuvaROJ+B9C2NIVZxttrdHEIEnpOxUzfNUu4WHMGYCco= 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: m/6/DTqcUK83xj4CrA0UV1RvwSfA/gf5lelauUpoWQhECcZ2cr1JsSU/GlV8NWbVq0bt/euw11pNWuoBC+s9ifp4kJXj2AI2TZkGJTsj85FbXrfZzDoLpUiz/bAPGqomc2kK3gO0XC7MTiSKNQB904eanW3JOPA9Yn+HNcRMyigM3Bvf7uY1YzU3ZcLevL8IPDauCHLri7uXCooJxYdqwkWbHZXnypINbXNKVHqnwCT+DMxa+rnAZiVR3aQYQ7UZhRDqAFR3648BOH4dCKWfbNSr1iJl70LJnP3n33vnWjMIWWCfQTtcBSLLtAoKqNsCMbG3Zqjm9AzhXTrQOBSoQgoBWGsFgVIjaJwNJlPkeQrz0R2TBECuPG7VQk8I8AsxoR6HiIJpXXphm8LMxzRQjylEXpdrZHMMzm+UGVc0u9N+uVOTTjbrc7+ieNXjO5Sup2Z6RaLEja/Jb+8SKPj30GMrdK+5vVotiIlpb3efq3+1hAnrDF0S7JpPIl9h+vHmPmZL45mnRwsruPfLR777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Og1sLDOqh7kFn43GsLsNFfyi5GwVfYXm/1G4B2kAY= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: f36f55ec-4dc8-4427-867b-08dc836b04f4 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:04.8788 (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: ppBV6Z/Suq7JS7PeXrwRQIE+KEPImUKz2dg7JjXskc2JCJLEC2uOzvuIFYnZb8fCGMz5G9nLA0Q5LF4OPRRSNFqH4z+EZ9HVO7RhkGyjGfkgV40Uj51C6EuBIj/ZC74V X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB9479 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240602_181815_668317_43F8E79D X-CRM114-Status: GOOD ( 10.35 ) 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/gpu/drm/omapdrm/dss/base.c b/drivers/gpu/drm/omapdrm/dss/base.c index 050ca7eafac58..5f8002f6bb7a5 100644 --- a/drivers/gpu/drm/omapdrm/dss/base.c +++ b/drivers/gpu/drm/omapdrm/dss/base.c @@ -242,8 +242,7 @@ static void omapdss_walk_device(struct device *dev, struct device_node *node, of_node_put(n); - n = NULL; - while ((n = of_graph_get_next_endpoint(node, n)) != NULL) { + for_each_endpoint_of_node(node, n) { struct device_node *pn = of_graph_get_remote_port_parent(n); if (!pn)