Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1496363lqd; Thu, 25 Apr 2024 18:47:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXhq9KNP6slCwq3yXPtK3IoTu8uPRKPx76zaLfY7m5y/eb+MXkIgvLfJ/RkL+mgPPDfIQlZ6FJkC9cJaJA5H0CId0H53lxmN3pmpp77Yg== X-Google-Smtp-Source: AGHT+IGKHmd/eeKaWy3DLXon61hIc4FM7qwK4oE/bR6EcXyrAMD9SdeYh/gzVT7Ovib9LEWBlHBC X-Received: by 2002:a05:6a20:9187:b0:1a7:52fa:7d6b with SMTP id v7-20020a056a20918700b001a752fa7d6bmr1780293pzd.43.1714096054046; Thu, 25 Apr 2024 18:47:34 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q14-20020a170902eb8e00b001e49c745628si2463266plg.182.2024.04.25.18.47.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 18:47:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-159424-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=ECyJ8tVx; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-159424-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159424-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CC78928536A for ; Fri, 26 Apr 2024 01:47:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 831551869; Fri, 26 Apr 2024 01:47:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="ECyJ8tVx" Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2063.outbound.protection.outlook.com [40.107.100.63]) (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 D1259EBE for ; Fri, 26 Apr 2024 01:47:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.100.63 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714096031; cv=fail; b=PPb+fxjqKt021Bn8kvUDRw1jSJzPwgairAiX0VkvV0oZ0xVpf3/GAz0+kcqe/WQmbrA0KMCJT83MrZgBxyELXekH7MveO4ez8qPLN+A+NvilzB5WXhD2D6UX6BJtMfonkU/+8QNAZzzmI4PV/g5DNkH9d5jZOkhzxlMbjaQUblI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714096031; c=relaxed/simple; bh=ACiXW1ApYNo1EQKDio/SvHE7Cm+xRO9jYXr4rtqOulc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=dOp50N/XHjvXUpF6C24WJL83oWWL1pCIt1MI3mKZ+lbX1r7djpFwMYsy89yLLw3gyGYAnAjSmFpSO0g4vNap32bXGBY08JqyvqTC9F91iJssLRCJ4wtFhBZCYmzOeYi96mbajXjJ7R156obH3Gr827W2zKEEM7jc7qrK4RYLonY= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=ECyJ8tVx; arc=fail smtp.client-ip=40.107.100.63 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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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FJ5UU8rYWJWcUhLQzRPaHM2SnhhUElOYWJyaG1BYjJsTnZMUUxhOFdz?= =?utf-8?B?bUNCcElYRHd2NkoxWFdQVE00WHNXQ2IySzAxUTMzenVlSGhmc2JISDJBV1h0?= =?utf-8?B?QnNtZTczb3k3a2I2SXN6Y1d3Wm4xRmloY0cvd1ZXUldFNkNVYTYyYTI5Q1No?= =?utf-8?Q?ohyG/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 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; } -- 2.25.1