From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 52AB0606A322 for ; Thu, 3 Dec 2026 13:34:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=LMsgzZfn Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 105C11128BE; Thu, 3 Dec 2026 13:34:39 +0000 (UTC) Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id CB1C51128BE; Thu, 3 Dec 2026 13:34:32 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 7C0214188B; Thu, 3 Dec 2026 13:34:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32EEF1F000C1; Thu, 3 Dec 2026 13:34:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796304872; bh=uxFwXZ1LYgIqhY4ePLQZDKVtHBgSh+e1ND+RR8RAU54=; h=From:To:Cc:Subject:Date; b=LMsgzZfnX62m42mlETGlzBhIOGE8po8lbSgQumcoeyx5NmNzxqa1LMY1BzEY9EKDW JJ5tgTHFjktVxOZBBAlPOs9yYaQMcbEThgOhUNS7SW3hrGThqaDFOW0b4ICaz+H3+5 YmpT0Qx4At0aA0AkjIQpApjr993pWPy0SUKTYy2Wt1Z7FvT6YFPycCVD+XGAMxWO5V 0sBckeVlp3YuAyF2NVpRbB20KLZjmy0wPfZmucdQHx589RnsGNUySlcWbnIkFpilyx laZIqASp6uMql/kyFdR34aTXZ7i8PLPVhNh6TnE1J054s/xj2tUnL6yjnuk1JX1PhS WsdKzUQ5d5cAg== From: Sasha Levin To: Matthew Brost , =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= , Rodrigo Vivi Cc: Tejas Upadhyay , Arvind Yadav , David Airlie , Simona Vetter , intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/xe/debugfs: Fix the indentation of a return statement Date: Thu, 3 Dec 2026 08:34:29 -0500 Message-ID: <20261203133429.3922057-1-sashal@kernel.org> X-Mailer: git-send-email 2.53.0 X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Intel-xe" X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Commit b2d368d1b266 ("drm/xe/vram: don't let firmware-confirmed permanent bad pages decay back in") added a tab in front of the last return statement of inject_mempage_offline_trigger() when it added an argument to the call. The statement now lines up with the body of the "if (pfn == 0)" above it, and with CONFIG_WERROR the build fails: drivers/gpu/drm/xe/xe_debugfs.c:124:3: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] Remove the tab. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/20261203111901.XsHwVygi-lkp@intel.com/ Fixes: b2d368d1b266 ("drm/xe/vram: don't let firmware-confirmed permanent bad pages decay back in") Signed-off-by: Sasha Levin --- Based on drm-xe-next (9aebc8e32250). Built xe_debugfs.o on x86_64 allmodconfig with clang 21: it fails before this patch and builds after. drivers/gpu/drm/xe/xe_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/xe_debugfs.c b/drivers/gpu/drm/xe/xe_debugfs.c index d4e7fd0b11012..52c50496fa352 100644 --- a/drivers/gpu/drm/xe/xe_debugfs.c +++ b/drivers/gpu/drm/xe/xe_debugfs.c @@ -121,7 +121,7 @@ static ssize_t inject_mempage_offline_trigger(struct file *f, return xe_ttm_vram_inject_fault(xe) ?: size; /* User provided PFN - convert to DPA and inject */ - return xe_ttm_vram_handle_addr_fault(xe, pfn << PAGE_SHIFT, false) ?: size; + return xe_ttm_vram_handle_addr_fault(xe, pfn << PAGE_SHIFT, false) ?: size; } static const struct file_operations inject_mempage_offline_fops = { base-commit: 9aebc8e322508d912451d9904b124bad09fa8dae -- 2.53.0