Files
linux/drivers/media
Mauro Carvalho Chehab daea3eb7ef media: saa7134: avoid a shift overflow
[ Upstream commit 15a36aae1e ]

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>
2023-05-16 09:39:40 +09:00
..
2023-05-16 09:39:23 +09:00
2023-05-16 09:37:40 +09:00