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 3FDAB205E2E; Thu, 12 Dec 2024 17:49:17 +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=1734025757; cv=none; b=WACzdd7+KjGbNiXX0X50k+YTdtI5OWBw69dTBmV7dwqR7AlndMbR4WcMxHiWeJ3MLjZUxQ54FVP1fvt8JsmQzgWounPP8HTuWfes+kzTbd6ClwLTVuQvakDIaF2IR8DGNuysWma0M9yUSZ+uAphV+Yuk+UK49xlO0dNHbmfsoWw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734025757; c=relaxed/simple; bh=3ZU/sJaWd78E7ySiXWa9TespZfDg1vlrUei85MKhQTs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Xg3A51u6XCHQL38QdRPvt6ctvWFBoh+6nQiX99vvbJDEyGB2U081SEzP78iAe1xA8WflD/cAIcmTwztpiL5JSwP1JkynAmBp4E3prrjnM802dbF5ehhTzcpzbnSeEusoH0y65hEISXl9XA4HawDZviJoIh+cL94JondCrUOaADA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HGDs2TFY; 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="HGDs2TFY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE186C4CECE; Thu, 12 Dec 2024 17:49:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1734025757; bh=3ZU/sJaWd78E7ySiXWa9TespZfDg1vlrUei85MKhQTs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HGDs2TFYkKlAzrtrUPJMP+yK7XT2QtOy7z3KrqLHGeB9Q8cYlGJdSAJTbdV7tR7o4 4p3npcZ88TFzQDFkkLaqBoUKHm+9E3BiE9rEHZAbWJWpAX8NC0YakdMto89eqJAJ1c QxbS9I2QT5AkkCqWqigU/gIVHB3ueUzRRXCUeYcE= 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 5.4 247/321] drm/sti: Add __iomem for mixer_dbg_mxns parameter Date: Thu, 12 Dec 2024 16:02:45 +0100 Message-ID: <20241212144239.731435982@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241212144229.291682835@linuxfoundation.org> References: <20241212144229.291682835@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 5.4-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 c3a3e1e5fc8ab..21cbb4d0ee4ac 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