From patchwork Fri Apr 26 19:27:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Klymenko, Anatoliy" X-Patchwork-Id: 13645282 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 89CEDC4345F for ; Fri, 26 Apr 2024 19:28:38 +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=2n5mVHzp1xe7Y6 b2EmuYD2x2s9PKmSUDNgcOC+HWQ8W9/H0N0pfvxRju2DKtlByY0FmtKz7lfSCtomWj8YJE3WWq95l +onavzgJ7Kmnbz3M/rzRIqdMOPHeJ3ekNqshHm2FV3LwwnU1R5E+lXMMLDNCGLjWsgKrQHETEHm5A KJUFOIsZEbokStWAMwVIBIIwXJJap7jbuxn+/85B5r4rxw4fQwmSgb4to6AKm63ysXy/Ma1hMhvLj Vt/xVuazTV6mU79JZjMk3tpn1FFCK55on9Dm+408fvpU4xor/WseXnLwiYyYZ/00oHGO261NcLVsu zoxYMsVJbhfsFAbMhM3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0RFE-0000000DoSE-2Kt4; Fri, 26 Apr 2024 19:28:28 +0000 Received: from mail-bn7nam10on20600.outbound.protection.outlook.com ([2a01:111:f403:2009::600] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0RF1-0000000DoKI-1zYb for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 19:28:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DBwP+2U+noWpvCWvumMpRZRgq8qGcMXhGGTsZlncXXrz14u/jf4j9gqVlis3c51ehHRgYxKhdP3On2ANYXrkac/NfTHiX/lgNA1n/Ev72WL/o2DU+DBqxQtXqshuJMCFx4jrM0eVEe8xxVxbLdqTRzGmPoY/SgIYn6gz2szpzIjcymXK2Q+OjYyAXhdXdvxWu6HV8QsAz4Lhk1cHMlMVTru//vkK39aimN13BSXaAgLs5zmqIJHJd49Omtqx0rxeJDSdu+cmcBLgV/2iEdnegGbu4lGYJPevqUSeIK6vDm/FQyquJvTDtwhbGwpWhPpj+uFblpTMWO5O2NCDqBKoBA== 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=JI27HE2JiUdSGsNxoh1r3BOKmXtCATeucBIf4gfkNXvIV1xgjTgg18veJ2kK2J2KR3rEZUm6mydXYyqJVfUjX1ZdoXUuFtOF3CELo0HW/CUY8szV9NuIMR3YtVopQzDxzxXeWw7dj49drH3ORRRhk8XLWnjE29hKPaqnu5OsXqzLebyW7J7/qvb2ofxQ2MxkZl2Aab7dd0/IwQkKhfnTVCtNp6tYOgUD5lDQmWEXhqiMkalMJd5T/T+iHHYzpO/qBKExNLEGybjYaFYKqI0A55X+uclQ27peKp1zJcnORHTzYcvh0da6nYL7xLk+NE+xI0aLonRH3bjRul21B2hxXg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org 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=GrtT88xeYk0Qr9PfCKZRy6YpCcwkVyqKxfjAwtk3H1U3CAdxBDKsLGfDeyjBbOnZUofD+KzM8hmynm7Q7/H5jdF0lmXeYrRNyAb2h+xV1AWV+/D/YNVz5rOBGtQShmZutbwpicpxBSfhycx+vh/xwlSO7Ciz4Pgm8EPrYcTLKZg= Received: from CY5PR19CA0069.namprd19.prod.outlook.com (2603:10b6:930:69::15) by DS7PR12MB8347.namprd12.prod.outlook.com (2603:10b6:8:e5::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.23; Fri, 26 Apr 2024 19:28:03 +0000 Received: from CY4PEPF0000E9D0.namprd03.prod.outlook.com (2603:10b6:930:69:cafe::93) by CY5PR19CA0069.outlook.office365.com (2603:10b6:930:69::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.31 via Frontend Transport; Fri, 26 Apr 2024 19:28:03 +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 CY4PEPF0000E9D0.mail.protection.outlook.com (10.167.241.135) 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 19:28:03 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) 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; Fri, 26 Apr 2024 14:28:02 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 26 Apr 2024 14:28:02 -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; Fri, 26 Apr 2024 14:28:01 -0500 From: Anatoliy Klymenko Date: Fri, 26 Apr 2024 12:27:56 -0700 Subject: [PATCH v3 1/2] drm: xlnx: zynqmp_dpsub: Fix few function comments MIME-Version: 1.0 Message-ID: <20240426-dp-live-fmt-fix-v3-1-e904b5ae51d7@amd.com> References: <20240426-dp-live-fmt-fix-v3-0-e904b5ae51d7@amd.com> In-Reply-To: <20240426-dp-live-fmt-fix-v3-0-e904b5ae51d7@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 (SATLEXMB05.amd.com: anatoliy.klymenko@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000E9D0:EE_|DS7PR12MB8347:EE_ X-MS-Office365-Filtering-Correlation-Id: 147a7f51-ba70-43ae-6f6f-08dc6626fde8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|82310400014|7416005|36860700004|376005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?lmhCa13KO2XpkixAtFl7knWDT/Sfogm?= =?utf-8?q?qLr8OURhSH3NgO03Z6z4A/aLqeYXDmrfaoaTamiq2Ld5f1LWPUiBECw8Bnwb+Juy6?= =?utf-8?q?33NIaGeYQulX4nExOMJXGu9i/IV7If+RCBNtb52pcwO88ztLeJhpUwjgp7Jsw9fhe?= =?utf-8?q?phmH04F6KdwqLFTXMDOre7Wc8lnLxg/iOHDscdgozVLJvqxEeKfJXyx4ZYe5of3HX?= =?utf-8?q?NvueJ0Pm3Qz6P5RjUomXvr2En41VXuwPnO/B6yEEWQFrS/qWD76o8MPuM1jIKR0P/?= =?utf-8?q?xgdZ6mzZAull7bKhzh81Ybylid5bRcffEIhYPQUXIlPD+WB9TQPrZaSpWHxVtD5mH?= =?utf-8?q?IQZ+KZ0WpSSQqtTRsCRMNn7h/7Mv05xchz5l5C5cx4PrV5SJxA50lHOOFP+fOfA2o?= =?utf-8?q?OdxFqGwRE8y2EwBb/WsAuznlheGqdDL9dRTZ6PsBSq7oPP/2zVE3OUCyk9R1ju35H?= =?utf-8?q?bE+DbDr56JEnprKId8z47FSbqwou7HzceySDx18w3CzQWz2LK+9vr0SiGlE2H4nEj?= =?utf-8?q?HwGofNO+dNzOveeURhFi0oeH8EtpApYr3E97pXmVBWoaqKTF9XcZEDukeySt9qfVD?= =?utf-8?q?yU9IHEsThujD1x1Pk7jCMSQcb2ytfDOs02VFnfgFV2hxR4geyWUUpc0FGL8CHhqAJ?= =?utf-8?q?FevLOXDGKZLzNcWRuBkgWBQVEhG0kvROMtuEI1WSSD4pooiLl1eLHilGtxqL6ppXf?= =?utf-8?q?vhu989zVazv4WHQRtQ6VARkl1Z4JFwUQCDFBQTtxcMVXibQn+IH3f6bD0u1hiYt/D?= =?utf-8?q?ty5dsvewap/XkST8AbPnSQ09sI8Gpzk8uNt2U4BeczID69nwTybrZrTF/m4L6LpYI?= =?utf-8?q?43krAwMqpl9GZRwuDQAZKGb+bmHMtgQu+mEFEVuDZsuB3RnlX6XUlkoRJmVngl6/M?= =?utf-8?q?i6asW6BGPi0KnmmLHgosmy+TVebsGYp6ICe1pMD1VD3akT0N5ZC7x3s78VzzBwY1B?= =?utf-8?q?RTRKfv//9JSi0xO1+MJNBVstVOHDwkwdwT3V8bKSXK427HPE9QEb5e2P7XxTHZEOR?= =?utf-8?q?jJ6QGwJdSrlvGXHmdecRmFF40sJ0o56Rg67GLF9mtGyb+kv6zJ5+P26LBvOwiLq5B?= =?utf-8?q?iSMIe6QFegysc51hmJ/QGE79wZrwUNJHrohelKGAOkIV4CaNFN6mFPQdyCZ5ynaiG?= =?utf-8?q?JkD5tu1q+eJe29wmGTsixo6uLqE41HlBpe+jJd7UVyme+NzJSnTPviwFs7kGPjxuy?= =?utf-8?q?QNZsc5hZWpuJLtoJacdrGk80AvBSi6azZ8HJZbZU749wxzQw/ldGnGUW/qak2i56r?= =?utf-8?q?9Y/TgLH6I582v0sJ5gSCVq40KuivoemTCFcWNVuMaN2fd9DI+HJ0JvaUYoj5MOGo2?= =?utf-8?q?spfHv2cpsvs+?= 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)(1800799015)(82310400014)(7416005)(36860700004)(376005);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2024 19:28:03.2707 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 147a7f51-ba70-43ae-6f6f-08dc6626fde8 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: CY4PEPF0000E9D0.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB8347 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240426_122815_540711_889265E7 X-CRM114-Status: GOOD ( 13.08 ) 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 19:27:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Klymenko, Anatoliy" X-Patchwork-Id: 13645283 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 C87E6C04FFE for ; Fri, 26 Apr 2024 19:28:40 +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=dSjcX9AHpxCXYvjhyHFhlTqPMPPlbVS5yvX3Xa8TVbM=; b=lSwffYlpBbgsNl YZGitfINS9+c7Dj9nMZurrpxUhX40mOEGwAlZee7/vwOf53U4VpmTINI5pqUsrOySn2QSbWV8fY0S IjLOTeh8QOlGPWMDogEBZG0eoxOZ5NuvCImo3Uk6bYzpGP9glesUrf8jiL78y0yXncACR8HNm9WnE PiGOU5+9E9in9td5dENBHy4cJDeybOHBJ2SBTJZZDIo0/LM9+tgiR/r0dXH4XHMcs0U30QpO9/Ujl zWJCpr/YYTMLbjf46iqEIanmnnxeRXfxv38h53UMDDZOSi3ZIS0jiZFGIZe9oTpH+cbPOL0vdBLgY 66kfOA1vfbIYMQijBCoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0RFD-0000000DoRW-2z8U; Fri, 26 Apr 2024 19:28:27 +0000 Received: from mail-dm6nam04on20601.outbound.protection.outlook.com ([2a01:111:f403:2409::601] helo=NAM04-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0RF4-0000000DoL9-0pVX for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 19:28:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aQKaQzZYvOIv31GkELCGlqOYYFvgARdceaAR5tXW8JMDfg/xdmYJJtLi7vF4P9+1nYdhn6YmtQAkWzFOHaNHsJKxrJsT9soK76tjHxtfGrpKAPid2rUvNyq6aYx18KUZGvXvit/DUjil8X21kCtzCdX3BYWkaoqbttdnNHdXJgHbqsBPR2bK49brxRD+brVWFqOCCBMfrwltZpR53R6dRYi3NYJlN2K9ksPbrBmrWcUK2dcONR4esAZcjNBRCDcnun1dQ3h7hMJkde+g9muTJodI790UXad0DZPD3oOB8Fnw8wbyRxeqTPgeeH/H2IZIgXo1nehveB5AOx2jWySrsQ== 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=sMjbj3XLRM/v3Am8u9/T3JeIErzCcWZz7Yg4RAxXT3U=; b=fDTrBaEg2tNV3H5SGiC7mgFdEIhrMx0vcumXBe0l1zlskSoRo0vH+ad6pJxlhvVXeFscowBU35Vot22LaxE+ooLngF0irgiugN+Bm1DJt4zyhrUMouJmOkTYTY51UyMTHQpsq2Ic2ooSCdTywcCvcJea0BgROxhFORw5+Oab1xygKjQaSJPq80aG89c/Oil9pKFDLIeo0jwLoclV45cQ06OK6nwl0zzyAW1nQgGkpxu2P/Ph2uZ088/q9QC7ElLO7exU7eRntSq9ffv0uvsyXCkhwu+cYhZ4+I0MnplXfbw7nSwUAlLBF1lGtauxJTANshhfSJpybbCHPjlGUKNvzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org 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=sMjbj3XLRM/v3Am8u9/T3JeIErzCcWZz7Yg4RAxXT3U=; b=K+mdO1nfZTBxatXGbyn5tFyidRvCAVdVfDZZkOnSYb4RX5BA8grZzBk70hkZdSLgcEdfBUghoQWFl2RkDbyXeZiG2oflv3aoEGTVkxUEh+P0pAk3zE4b92AGauMrjTUFZRnZzTOcsyJ3S3qhWrFqbNmiZZE/WTwLW8Wrr22+Paw= Received: from CH0PR03CA0097.namprd03.prod.outlook.com (2603:10b6:610:cd::12) by PH8PR12MB6794.namprd12.prod.outlook.com (2603:10b6:510:1c5::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.48; Fri, 26 Apr 2024 19:28:05 +0000 Received: from DS3PEPF0000C380.namprd04.prod.outlook.com (2603:10b6:610:cd:cafe::6e) by CH0PR03CA0097.outlook.office365.com (2603:10b6:610:cd::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.31 via Frontend Transport; Fri, 26 Apr 2024 19:28: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=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS3PEPF0000C380.mail.protection.outlook.com (10.167.23.10) 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 19:28:04 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 26 Apr 2024 14:28:03 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 26 Apr 2024 14:28:03 -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; Fri, 26 Apr 2024 14:28:02 -0500 From: Anatoliy Klymenko Date: Fri, 26 Apr 2024 12:27:57 -0700 Subject: [PATCH v3 2/2] drm: xlnx: zynqmp_dpsub: Fix compilation error MIME-Version: 1.0 Message-ID: <20240426-dp-live-fmt-fix-v3-2-e904b5ae51d7@amd.com> References: <20240426-dp-live-fmt-fix-v3-0-e904b5ae51d7@amd.com> In-Reply-To: <20240426-dp-live-fmt-fix-v3-0-e904b5ae51d7@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 (SATLEXMB05.amd.com: anatoliy.klymenko@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS3PEPF0000C380:EE_|PH8PR12MB6794:EE_ X-MS-Office365-Filtering-Correlation-Id: 6f71fd1a-f0dd-4f80-5e53-08dc6626fef5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?q?WookoehPS9SiDvgYlwqNx58hzRRHWEW?= =?utf-8?q?yt5aOCNl/hiHpWA8m028oaojevyqu22ZIgj7CUxVUpxD3oUUecEkKC3VGTPgBr/HS?= =?utf-8?q?DrSnNnbVFtde9ltIf4bjdiLk4KpJE/xc0UhhfeCJjV8HW78Li7B/SGyivQegCDW+a?= =?utf-8?q?MYwg3j1TLfWsXrOjmPYrQweXTVrSrepeWYkPTviy33wXx2GhZQbX5u+3S+mn17+M5?= =?utf-8?q?0W23EwLvnmBldvOOjFpmdfTmaSt3TAJjSLqETV5isrXZwbKYvJxlwaSoGFzW+UBBB?= =?utf-8?q?I4Md5HhrXy6YHFvh8DmbMaQca2mdgUGd+sTBqrJtFexsBqPV3/akvPHBFc8tKlcwb?= =?utf-8?q?Jipk71CpuwAIcLKcRIVBSfbbtsQR6xIKetvyYBokxaXzil4h8AfLo4FEqp5Di1/Cc?= =?utf-8?q?o0gyTwkygZEAOKpy/+wg9Mgbf/Qof0PyMjd860+sI90V+YeEKOoT5Hm1hbn716mmJ?= =?utf-8?q?mwyw4UiePQuriMUPpoGlpJZtjYiDWTdMLqFtlTI2QZJKdwGbMpxw0kUCUXrfExGO9?= =?utf-8?q?EkybEmfOHcVM/TCASrwJbhlMcpupZcU4c5E9pmGTll2FGLbTfuW3wZN0w3zOEmFUF?= =?utf-8?q?fWdgSnHaVdp8VLwXgyCNyHC5KP7nXsfHbKrg2FR/+Y8SsesvOHho1QDVO276C6yqL?= =?utf-8?q?5C9RxmsYNBbFSnTuybZAxYil2xyLlO8NpX4hpbfTTm2zsJmkTkci4j5XgtSbOj5i/?= =?utf-8?q?YeLMWFD/riKFqBh5fA7Qgv6aWj2NrhRuxC4uw/FnhW+1e3swXn/Kj5wAfPifMdkgE?= =?utf-8?q?zG3M7JogeOXKWXYKtX2Xf4TlVkoBl1rIPus7xlaFqeAQXob3av2EXg0OoYFFXIpOT?= =?utf-8?q?sXhVEILyQUmO2UgL+GdpyUj2jC5AS1bj//xO5EDg+s6JjaPXx//R8oF45VZQeokVu?= =?utf-8?q?pelIy3+YckOlZN4KRXfIggCcc7Xa8uTT3WuSPQgxfbchK7ot0F2jXeGwwDNkC/WPf?= =?utf-8?q?bApUWfSE6381/H9Zu8p05NxqTPwr2YorRbIvlNj3aI+GaEUuUDEQnodGYwlcUvCzV?= =?utf-8?q?dzoi0qXRUu0bRd0/9sXdyesdNXYBNRdBye+Ti6McI4M88Y9m/VjEaxfgC5kSe2Pn5?= =?utf-8?q?DR41ar25wytDowmNr04ucjXgkjKWTykMOh26/N0R6aJTUMH4L+I9h4bGvpSpuK3AL?= =?utf-8?q?+c4vPwYBlLZH8AUW+khfRFyDJXFhNdal76NLcwR6phXefS9ur0FQbTlEHZH3RzkZ5?= =?utf-8?q?ZV4npZedqf3WCz/hBRD+5U0aiGJZ/ELvTVCUC8yKdD0R9muk8XsUq1ho8Sh7sLdqh?= =?utf-8?q?oVorm9ybNQdVosegJOBuVj2CBJxSN7QftNA62bckbbJihww9W8yK6Hd0H/MOZ/6+n?= =?utf-8?q?eKmW/1RkPtKd?= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(1800799015)(7416005)(36860700004)(82310400014)(376005);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2024 19:28:04.9864 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6f71fd1a-f0dd-4f80-5e53-08dc6626fef5 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=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS3PEPF0000C380.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB6794 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240426_122818_256021_4D8A7CA9 X-CRM114-Status: GOOD ( 12.16 ) 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/ Signed-off-by: Anatoliy Klymenko --- 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; }