OSDN Git Service

media: dvb-core: dvb_frontend: address some clang warnings
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Nov 2021 08:59:53 +0000 (08:59 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 29 Nov 2021 09:15:04 +0000 (10:15 +0100)
commitea28f3f1d2058b03a811c1ac0f8d1de49dee646d
tree5c713b8caa713feb2bd8fed85ec647fb47df7902
parenta057d92a36faabb66a0305d3e4c17d7a98166932
media: dvb-core: dvb_frontend: address some clang warnings

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

The warns are harmless, but they cause the build to break with
CONFIG_WERROR, so do the cast on a way that it won't produce
warnings anymore.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/dvb-core/dvb_frontend.c