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; }