media: saa7134: avoid a shift overflow
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 2 Sep 2020 06:37:12 +0000 (08:37 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Sep 2020 09:16:13 +0000 (11:16 +0200)
commit15a36aae1ec1c1f17149b6113b92631791830740
treeecda15386a77a783b44675e1f70d7b34f511fdfc
parent883c84aca1e34d80a9b7b337225b0ef2f34b4cd6
media: saa7134: avoid a shift overflow

As reported by smatch:
drivers/media/pci/saa7134//saa7134-tvaudio.c:686 saa_dsp_writel() warn: should 'reg << 2' be a 64 bit type?

On a 64-bits Kernel, the shift might be bigger than 32 bits.

In real, this should never happen, but let's shut up the warning.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/pci/saa7134/saa7134-tvaudio.c