]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5450e63dce5599d3389e08294f32d02fcc1b7bad
tree5c713b8caa713feb2bd8fed85ec647fb47df7902
parent6cfc8c93ee6a3a3e7e0998e120839eb016281220
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