From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CEDBD2EAE5; Thu, 12 Dec 2024 15:05:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734015943; cv=none; b=TQI3YV7oD4fctycvUpdPaxI/l3RdZhFwTC2Boe5tloEq/I9ePY0gOoZARtk78Z9gsPqq3yWkR8M1EqX6b64+/Wnlgfv38lKhenxn694lrVlMQ0qbSvzCvOIwZTTUw/T+3ymRs7S4ZX7wZKoVUrH8zH0C/C7O7HY9S6W09QSym8Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734015943; c=relaxed/simple; bh=KVfr6ueNBobB2Yq1YZJtc1qXX+8xtR1OGs6cA5kJFV8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=H0lboTq7/px7uErQ4Jl+bjVOHHY/V7zupSjSX5k509x/vB9YqcOoTUrHLo2Hw6PcHGfrwDNMFP++fYMQwZABcgdJzmCrdWoUWKTZNF7I890QJhmui4rrjWDBfVXT2fSfzRbdzQacTVzkzZwC1vxcAcejQO6sr4akHmbzpf0sUEU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YYHsNdqh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YYHsNdqh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AF60C4CECE; Thu, 12 Dec 2024 15:05:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1734015943; bh=KVfr6ueNBobB2Yq1YZJtc1qXX+8xtR1OGs6cA5kJFV8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YYHsNdqhfjOmUm7vxxc4dIDZJUnvDQLok/v1VHk7zk0yx9phJzQ1W0ZbQLs0v/NGV EPITAgDNSGfvvrruH21VRqzpofIqSmIFlxSmne1jlM9I7NX7ERSPR9dGXCMJ5R6S40 AYNVSUbsujUDpwwvA62+b45CLNp/i5zjcB/wb324= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , Pei Xiao , Raphael Gallais-Pou , Raphael Gallais-Pou , Sasha Levin Subject: [PATCH 6.12 087/466] drm/sti: Add __iomem for mixer_dbg_mxns parameter Date: Thu, 12 Dec 2024 15:54:16 +0100 Message-ID: <20241212144310.256042263@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241212144306.641051666@linuxfoundation.org> References: <20241212144306.641051666@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Pei Xiao [ Upstream commit 86e8f94789dd6f3e705bfa821e1e416f97a2f863 ] Sparse complains about incorrect type in argument 1. expected void const volatile __iomem *ptr but got void *. so modify mixer_dbg_mxn's addr parameter. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202411191809.6V3c826r-lkp@intel.com/ Fixes: a5f81078a56c ("drm/sti: add debugfs entries for MIXER crtc") Signed-off-by: Pei Xiao Acked-by: Raphael Gallais-Pou Link: https://patchwork.freedesktop.org/patch/msgid/c28f0dcb6a4526721d83ba1f659bba30564d3d54.1732087094.git.xiaopei01@kylinos.cn Signed-off-by: Raphael Gallais-Pou Signed-off-by: Sasha Levin --- drivers/gpu/drm/sti/sti_mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_mixer.c b/drivers/gpu/drm/sti/sti_mixer.c index 7e5f14646625b..06c1b81912f79 100644 --- a/drivers/gpu/drm/sti/sti_mixer.c +++ b/drivers/gpu/drm/sti/sti_mixer.c @@ -137,7 +137,7 @@ static void mixer_dbg_crb(struct seq_file *s, int val) } } -static void mixer_dbg_mxn(struct seq_file *s, void *addr) +static void mixer_dbg_mxn(struct seq_file *s, void __iomem *addr) { int i; -- 2.43.0