From patchwork Fri Apr 26 01:46:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Klymenko, Anatoliy" X-Patchwork-Id: 13644065 Return-Path: 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 CDF2FC10F15 for ; Fri, 26 Apr 2024 01:47:35 +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:CC:To:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cv0iQlGDMetsQX1qFFdClvsmvR2SKWedFuKBM18RhcA=; b=jvmwfH98sIQKni 6fZXXWjl01vRcc31Zh/9RV0ZLavxmzwHsH2Yyp8iRPJVl56ZukpuWKXpHuBiuZj16mfyUhpX3+TUi r+umCQt7aWYqqLKcQmHQSJ5illxrFLJZ8e725nDqFQivvP58uJHjQL5vBdywpfpkGJUvRELqvHoyA ISR1j5ji3w9Fd5NB/IFlvDn4oZB02p+/eOkYqMSuLbaS5XEjhiYeTnaT2R5aYz/kt+c4Ir5aQQ0P8 uf+aj6nOSxGCEuYnErJ8/NrYyoVHomwVo67upFTQFyQXriZlsBxXdABoVb0OWSLegsPFrFKXV/4ot Y20D8FI8N7gx3w9vzoDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0AgJ-0000000Ap4O-07IM; Fri, 26 Apr 2024 01:47:19 +0000 Received: from mail-dm6nam11on20600.outbound.protection.outlook.com ([2a01:111:f403:2415::600] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0AgG-0000000Ap1i-02B3 for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 01:47:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QCJBHA5aTlGPSGSY8hAcNOeWcT2kD6yBt2ilDyRRJh41nPGCmA90fn3LvlvruxkaiLobt2J45MeZgbgANN8s9VQiwa6OaHPsWIMrosjXNP2k8gsYGl9nPlyR58GeBuNaDM+hfb5hHkvbVVOOSk6ZcAIXyq4Yu7FVjkGlBk4ig6xM1nPYEHXLZZjYNJzT8HILXpQBT4wP9B+30E6Lt+HwZ/SaFmz6kKBpCO++65P7AzrL/dRZyBEDjQa8QMslpwzIAarqFy82A1+OEAhYDP0qXFBmYWQFAD2jwPONDOu0j1LzRQ/hXbvw95USpdp8KvunL4FBCbjX4WnI6Is9jLxvtQ== 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=42ED7G604v//c+W0hrRlCRdQghjY3epGqV/vPa6O1m8=; b=TzK7p6Lkxfx6yN07KsCWSt2cxh+t2Gu0KHkL/2Tu1N3PMBFj2RGVfkSTFI9LOwBihRSkc0TSN7ZT9wdoVW2HeGsIH8u2bFOMH5qdq2SDaN6GGHPi6amIoNAdqWSIiFulxKBJgsTBfL4NijB8gb9HbovC/XjANl481O3jEsxDHdTj4ydH/6ZBZsQzlHpCtaB0mQVuK24TZsD/VmS38SocKBOhdfnQ22tBr2PFJTlhml47wWwThDxvxBQkcGJKBCMdV2+DnMKvnIxYxo+W6PVg+mhmMJcbvjfIjUXjIonYCItnoUSRU1/wp+0ILUD+crMObvLGoOw+eoF65OwQRI4iPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=linux.intel.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=42ED7G604v//c+W0hrRlCRdQghjY3epGqV/vPa6O1m8=; b=28aR4mJT9B65EhbrQIb/HcoSJ8oYxGtC5VpbbEFDuOIrVlVrBIiRlk1MkTgfa+I1/bcMTJjJ1Pp6foSCYQQOwiO+Yo1qbv3D/RRITyW6USsXzxUBcyczqcMiK3d4qKSAyC9yvY0Y5B6jaBz6MFa9bQ7MBFAyDKvKNEKjqqfNJNo= Received: from BY5PR03CA0014.namprd03.prod.outlook.com (2603:10b6:a03:1e0::24) by SN7PR12MB8148.namprd12.prod.outlook.com (2603:10b6:806:351::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Fri, 26 Apr 2024 01:47:05 +0000 Received: from SJ1PEPF00001CE5.namprd03.prod.outlook.com (2603:10b6:a03:1e0:cafe::d5) by BY5PR03CA0014.outlook.office365.com (2603:10b6:a03:1e0::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.23 via Frontend Transport; Fri, 26 Apr 2024 01:47:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by SJ1PEPF00001CE5.mail.protection.outlook.com (10.167.242.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7519.19 via Frontend Transport; Fri, 26 Apr 2024 01:47:05 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 25 Apr 2024 20:47:04 -0500 Received: from xsjanatoliy50.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 25 Apr 2024 20:47:03 -0500 From: Anatoliy Klymenko Date: Thu, 25 Apr 2024 18:46:50 -0700 Subject: [PATCH v2 1/2] drm: xlnx: zynqmp_dpsub: Fix few function comments MIME-Version: 1.0 Message-ID: <20240425-dp-live-fmt-fix-v2-1-6048e81211de@amd.com> References: <20240425-dp-live-fmt-fix-v2-0-6048e81211de@amd.com> In-Reply-To: <20240425-dp-live-fmt-fix-v2-0-6048e81211de@amd.com> To: Laurent Pinchart , Tomi Valkeinen , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Michal Simek CC: , , , Anatoliy Klymenko , kernel test robot X-Mailer: b4 0.13.0 Received-SPF: None (SATLEXMB03.amd.com: anatoliy.klymenko@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF00001CE5:EE_|SN7PR12MB8148:EE_ X-MS-Office365-Filtering-Correlation-Id: 28e43bd6-3295-469e-f9b8-08dc6592c6ca X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?q?70ASycc/4X1qUT08TbPmxO08x6rh9+v?= =?utf-8?q?WrXVcwc8uk2XxSrMc4vTJXYIMixSSdX+JLY+6yR8TnMa4tItQWtBp0qbQxpyr2m5y?= =?utf-8?q?ATzrwCYfl78hk/3iCQ/oY+WIZeqKvyJi+Agk0EklTHGhugrmDa6hxY7yt5tpyiIfw?= =?utf-8?q?XmLKTQ3bOvK4AoQn484s96mkJ8ZMgF0Pb00TlKIi/1uevT/Ctw6/XDkCjLpg1ZWdi?= =?utf-8?q?24Zh0xBpb3/uu/AeAWds+uj4UO4TPIuNIgFm+4z7RXGhjN6iQTQsbN5XHLyr/EKog?= =?utf-8?q?YTJXqyiGHUEAuhVdy3BOiqQpk1e0mfgfooxW59t0PNjmfiSGHZ2N7jEeV2m6M2cSe?= =?utf-8?q?IBQyhkkrhjFCC/7bOIPdPgOXSs39xiSaznFodl6Qdl6f40JNEFmwuNWZ7ubdfWR1e?= =?utf-8?q?nog1SVU7QZzFzvK8MXkqMqdf9Y1VpvWn4/FhtJzuF7RUgXbehrXcGoymdNxqGcy1B?= =?utf-8?q?NYQN7Mm0sXhQScC/bu9vf2EQsGQdGQEpX4qqJKvEQ6S0uihkzKt8F9Rj3insU+epF?= =?utf-8?q?UYhmFVNAszakxTb0uSXkBIruPIcUu9vgdTzx/3e77kbt8BI19mmDs8ghaj1l6r/rD?= =?utf-8?q?1UAODcPazRTR6jLjywGIxIb1Kd2+UGRY32UqjFlW6TueOpDxlU8FE0aleyDOJKKNm?= =?utf-8?q?uiHNBTlHG2rWodHSP5F7gXPLl3dkxzpGUlPqaE4DyH4ZxeK9uWqvsSGwyr43uBt1e?= =?utf-8?q?aNWa9MAug6h/PG00xBJfbR+xQqNvlcDipFyY2kHaDCZAoHP/Pytq+NFhEjxrXxsYc?= =?utf-8?q?D3QR6aBAy0MGQtBgK5PYGPenVU4RvnN2fWe+uZpotXDU8xhbYy1KTIdVPMKcw4pzv?= =?utf-8?q?Gbo8uqzWRNTyCHatGV3GS5lauQ/azp3ou396KgNzHpRJ7q36JKZuwPP47Jx89wNB5?= =?utf-8?q?85Wd5HUdsCqd61pjsHxRAtZ33e1quSIkj7sertg8Y8JJg2c9quPSRc5BMoZUFJJDN?= =?utf-8?q?E4qjj7+VcMtrODKLRFCVdK+L5aStKL+Eo6CcC8NoNzaeMP7ooJd1Ce0UiHbeM78i1?= =?utf-8?q?GnVBUVUMZClVkVXHNxR5NrOwbvfd6S1HTd97epfY7wghEgrBo0GDGcWcfXOyxM7KH?= =?utf-8?q?uFSKUuknkQ/kkosrVRWbqNTr6lBsaOwLu2nraDZ8wBlDTUMtG5SJl2cIMs9hba733?= =?utf-8?q?kdSAQ2YAXp5SHAgUFX6OAnVHAn+9lWelHJUPiIkfxKlH4akkrXcjPaiOkAD5unDWx?= =?utf-8?q?atqCYoAChTEHW+/RCYvx2oPAZT/vimjxH8A7t1t1iwSSLmh+7hQnA1cTfyf8vIeQ0?= =?utf-8?q?eRES9Xp0HjlofZFC/0lGAVu8qyKni19WbisuOCR3SiYAnRQBCKYlkGwP5Twd4GzsW?= =?utf-8?q?tK1QCKvhgPfK?= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(36860700004)(1800799015)(376005)(82310400014)(7416005);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2024 01:47:05.3339 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 28e43bd6-3295-469e-f9b8-08dc6592c6ca X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF00001CE5.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8148 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240425_184716_114961_26990ABF X-CRM114-Status: GOOD ( 12.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix arguments description for zynqmp_disp_layer_find_live_format() and zynqmp_disp_layer_set_live_format(). Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404260616.KFGDpCDN-lkp@intel.com/ Signed-off-by: Anatoliy Klymenko --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/zynqmp_disp.c index 13157da0089e..423f5f4943cc 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_disp.c +++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c @@ -940,7 +940,7 @@ zynqmp_disp_layer_find_format(struct zynqmp_disp_layer *layer, * zynqmp_disp_layer_find_live_format - Find format information for given * media bus format * @layer: The layer - * @drm_fmt: Media bus format to search + * @media_bus_format: Media bus format to search * * Search display subsystem format information corresponding to the given media * bus format @media_bus_format for the @layer, and return a pointer to the @@ -1117,7 +1117,7 @@ void zynqmp_disp_layer_set_format(struct zynqmp_disp_layer *layer, /** * zynqmp_disp_layer_set_live_format - Set the live video layer format * @layer: The layer - * @info: The format info + * @media_bus_format: Media bus format to set * * NOTE: This function should not be used to set format for non-live video * layer. Use zynqmp_disp_layer_set_format() instead. From patchwork Fri Apr 26 01:46:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Klymenko, Anatoliy" X-Patchwork-Id: 13644066 Return-Path: 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 6A043C4345F for ; Fri, 26 Apr 2024 01:47:37 +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:CC:To:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pv34SnruUuTn4Vn8ge/vzlRYQb6RrNqy5lWRU6tfQyA=; b=frTMY5SNNL7aBR IsLa5oWlXw/0ZIFkm3/Z0qbwVvT2pYxFcj2gA1k7n9I7/qfdGGtrehkYKfvtHp/u1oElYbriKY+Vm 0QWpoJIxEVAHSYwtoSE49Out9TlHLzXYxc6vTRfmONVbUwiQ+GfuwLd4l6LLo3rfqANZyDtzgZARN mP9rFWC6xCS0DxVBe0dmvvpqTosru7XpbPqtlfJx1lFfXSQfELaipHWunEAdxvRPAUgNIuRt9T+Tf 1LF9kW/IlAatXeBTiBM7CJMKIGVlaSQ4t2Nijf/OLHgeaPiE87kHN9xtuOjKzsBqxjLsJKmJ03oI1 ayq6XnNOgzf7WkGMJxkw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0AgR-0000000Ap7R-0sm3; Fri, 26 Apr 2024 01:47:27 +0000 Received: from mail-bn8nam04on20601.outbound.protection.outlook.com ([2a01:111:f403:2408::601] helo=NAM04-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0AgG-0000000Ap1g-064Q for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 01:47:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ws6B3fR2j6DFHCIjR4cZv4TtbAGRrLCw05CspZ6l0QTLumj216gz1S1R8XUzvdb577Phnu0nBEns8u4IBjPbaWYe3jLTyvOnzvNO5vsS7GOFEr7c/5iCh2LvxV3wHGGWhr7FXnF4S/wZhtc7mBLl1f4JMLRhN41tgqPii9PNwPqf45TYw5jRTKY8bV1Jaf2BwO0F3SdPMq5U8lP6HSmHz3o4stx493FSoQLU5yjpZrhiIZagvLeUYATAeEg5bQdUXOgtdVgEHWhpiKaThYBxwoQPcQe+1GaICkB76GTUta3KDenEF136IO4Of7t5iQZn177maoA6P8tahN7zScW0fw== 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=yAZ58Fqc9Or0IOAa21ZcwqwcYQHJ2T/acYKTRiXxiLs=; b=ant3PvBp5Z6437PEnkf3eUUBML2EWwlW+L8fuiXmMF9ZPUOG47DGFZyUXL5DtgvezZwIgEHynLcs01Ht9mNHLQKM2qCzCYkbb9U9pZ2x7J9wu2QaPdSMcESVQhT5gm5W6I/xlKcgxKeRFBELSTvochxKYUhVaQWHEDIFZjHJH/LeEkDPmq4kKfz0zATo73aXfUn8RtPTYAu+/4MqXzM90BviDX55UYFEwz+T+bWHrVOCmmC4DfmhJa5AVDcziWynT+mIvpmrdB0W+SWRoUzZatNuHNfWfo7ucZSWRj/ofat71JMCK7s9MCEo68No63Z9Q7h5AAcBKGmtXwpdgaOOyQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=linux.intel.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yAZ58Fqc9Or0IOAa21ZcwqwcYQHJ2T/acYKTRiXxiLs=; b=ECyJ8tVxSZJ8QO0OKzEmMyp2I4eycIG/hZSeJNrfWhM99UcJf2lb1dbbsVSklVuv5Go1p7UVlaN6M0Xehmwrsv8GMocEp48D4jyT8wusumXBe0SpnENC003/XIo3N5u/r//y6dSHl0V0zPz/hqZPjQJKJ8juddQPsQ60oHsxQYs= Received: from BY5PR03CA0007.namprd03.prod.outlook.com (2603:10b6:a03:1e0::17) by BL1PR12MB5731.namprd12.prod.outlook.com (2603:10b6:208:386::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Fri, 26 Apr 2024 01:47:07 +0000 Received: from SJ1PEPF00001CE5.namprd03.prod.outlook.com (2603:10b6:a03:1e0:cafe::8a) by BY5PR03CA0007.outlook.office365.com (2603:10b6:a03:1e0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.29 via Frontend Transport; Fri, 26 Apr 2024 01:47:06 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by SJ1PEPF00001CE5.mail.protection.outlook.com (10.167.242.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7519.19 via Frontend Transport; Fri, 26 Apr 2024 01:47:06 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 25 Apr 2024 20:47:05 -0500 Received: from xsjanatoliy50.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 25 Apr 2024 20:47:04 -0500 From: Anatoliy Klymenko Date: Thu, 25 Apr 2024 18:46:51 -0700 Subject: [PATCH v2 2/2] drm: xlnx: zynqmp_dpsub: Fix compilation error MIME-Version: 1.0 Message-ID: <20240425-dp-live-fmt-fix-v2-2-6048e81211de@amd.com> References: <20240425-dp-live-fmt-fix-v2-0-6048e81211de@amd.com> In-Reply-To: <20240425-dp-live-fmt-fix-v2-0-6048e81211de@amd.com> To: Laurent Pinchart , Tomi Valkeinen , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Michal Simek CC: , , , Anatoliy Klymenko , kernel test robot X-Mailer: b4 0.13.0 Received-SPF: None (SATLEXMB03.amd.com: anatoliy.klymenko@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF00001CE5:EE_|BL1PR12MB5731:EE_ X-MS-Office365-Filtering-Correlation-Id: f5837e49-b52d-4d38-2e85-08dc6592c761 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?q?E9WLsjFACPeT9h4dMS7dyFdlZGRr+1c?= =?utf-8?q?dt+VvfIKEOO2y2N7aNCJSX1Fo00q5xew3fYUpzKOzogGEHDR+DFsxzgtxfsnE/Tl6?= =?utf-8?q?lgExEmYrMlDiYKv8yO5oKxFzWDYEbKuxwsn9ca3BMPeuxLf7p7xgAkoyROW9feKb9?= =?utf-8?q?3AGpFWgagSrsshVyty1YFeVpqg/yOeVbLhgTaiDwTySjsRwhHUTp2N9tLQ5aerDQ+?= =?utf-8?q?LN/IN9j42t/uLjnkoU9CrXRlSSmjPIJL1OLhbBVkEHfeRdhi3BYvwj65DmZhUOeFS?= =?utf-8?q?t+74enOsvsn0mPfoXIQoK0swaj65Y2XigazrTQnRFVNaSWP7R0YcEhVgWcP9CEqAw?= =?utf-8?q?0entB85SutWgrO7HJ0LbWaSewoeDFvbLGhRxSuvMu6BEGEgbPmebMA4ImZQK1/mx4?= =?utf-8?q?Wc7oao95q3oAj1ozKMA5BvKH5fljKKQi/74NHGeRvAA3eI3KNTjumtoWGoJnsQh74?= =?utf-8?q?Cxq9AE/2ybMJ0pX30vUHt6t3YjDrIS0t9CjLmiQqRiF0y8I7pzRQ+HixkvpzJ7VX8?= =?utf-8?q?gVcKamhOplFiy2XBdR6/QFTgNocXgARqyKUSNqy3rrBBsWq+9r24I5cO3B4v6It9G?= =?utf-8?q?k2znLi3vbJA3e/Ry+DlxbwDAFrWWEsyJT7LA0aCh6aE6DYejl0/jXcn4C2m0ONOKQ?= =?utf-8?q?LWTt+v4O0+zel9xQESV/gEH8OYznb9+faJlC7GiuVXcz/T/M+T68C+nYr0sLlwt8k?= =?utf-8?q?fCXY7K0sKEKUVXo5VQ+qtrq4L1hHC0ikYod+pOPL+SK6RvjeQ/0DOggUkKW+C2xC6?= =?utf-8?q?E9t+BkmL8A86cfaxxEMhSdGf13vz6+2k4Z01LPsAK3r3uGVU/2p2Wtn1Po4Is/irE?= =?utf-8?q?WiXyvZaXBaOey6qnLQYAhPGXZ0UVh05a9wldUSsdWePtVglpIuIzxlTqb5w4oHPM1?= =?utf-8?q?0Q6LhLhUE061UKu4/6JHtsiDP9POm6FkTEa2zI7STF7Zs6S92s1bdoAObbt1bSg/g?= =?utf-8?q?CxXyv3OebR+nVqm9A0t7eS9q2S2fklXC6xLCR3A9Ebk3P2kgAihf2xClZj7nSWqkB?= =?utf-8?q?qamtSre6rlrltSGqyom9z4nqM6ODxpCAgx7Mbdh0ijYqp0obwYuQC46FK/cpRkLef?= =?utf-8?q?kGAmJu+fV4btr04KDNs0tI+umT/pbPBgt8hWQw7RMlx34Gz29ppdDCEBcBgqOitUb?= =?utf-8?q?ILUSOKCWnAW774u25zk6rXHgUOs5ltRMChx6bzPbMvTkJHp4gnrdFW9bZXGRxPpRy?= =?utf-8?q?QO+abVqHKC4Ohs6JxaPINabrhmAb2lNvLQLa8WsmCBpIXDwv6J1XWPTM4XsWCb2K0?= =?utf-8?q?1Q33zueHhfsbHH2AWXtBsme73oy7kb6IszcWwZn1FihcG/wVWRWE6CUa62a29CSho?= =?utf-8?q?hyG/2mOYQ1G8?= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(36860700004)(82310400014)(1800799015)(376005)(7416005);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2024 01:47:06.3183 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f5837e49-b52d-4d38-2e85-08dc6592c761 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF00001CE5.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5731 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240425_184716_133392_9595F534 X-CRM114-Status: GOOD ( 11.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix W=1 clang 19 compilation error in zynqmp_disp_layer_drm_formats(). Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404260946.4oZXvHD2-lkp@intel.com/ --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/zynqmp_disp.c index 423f5f4943cc..c9fb432d4cbd 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_disp.c +++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c @@ -981,7 +981,7 @@ u32 *zynqmp_disp_layer_drm_formats(struct zynqmp_disp_layer *layer, unsigned int i; u32 *formats; - if (WARN_ON(!layer->mode == ZYNQMP_DPSUB_LAYER_NONLIVE)) { + if (WARN_ON(layer->mode != ZYNQMP_DPSUB_LAYER_NONLIVE)) { *num_formats = 0; return NULL; }