commit | 3a285c8251dbffac3ae62595c19a51d32921cf9a | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Wed Sep 02 08:37:12 2020 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Oct 30 10:38:28 2020 +0100 |
tree | b83277383e05364123f0a47b5d5af16483db539e | |
parent | ac91e46ccec41c96b274952ba34be1cf98777b95 [diff] |
media: saa7134: avoid a shift overflow [ Upstream commit 15a36aae1ec1c1f17149b6113b92631791830740 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>