media: mtk-mdp: address a clang warning
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 24 Nov 2021 11:56:50 +0000 (11:56 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 29 Nov 2021 12:23:25 +0000 (13:23 +0100)
commit440aae04f38bf5f5fe620783fd9effa57a0a9ae4
tree7fdf7bea2f0376bc2e08e7b7eb11ea60595bab63
parent7225436dd8cb481b560e2a52088d0f829887a8cf
media: mtk-mdp: address a clang warning

The typecasts at the dvb-core generate clang warnings when W=1
is enabled.

Such warning is harmless, but it causes the build to break with
CONFIG_WERROR and W=1 with clang, so do the cast on a way that
it won't produce warnings anymore.

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/mtk-mdp/mtk_mdp_core.c