]> git.baikalelectronics.ru Git - kernel.git/commit
media: cx23885-alsa: number of pages should be unsigned long
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 1 Sep 2020 15:00:33 +0000 (17:00 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Sep 2020 09:13:03 +0000 (11:13 +0200)
commitd5641e6f188c8db302a49796452d7204e469b6b6
treef4eef5616a926808f9826c4d7c514bc6449d7f1a
parent5ef7e1aab54c0ffdbcfe71c908b45e093f472cd6
media: cx23885-alsa: number of pages should be unsigned long

As reported by smatch:

drivers/media//pci/cx23885/cx23885-alsa.c:83 cx23885_alsa_dma_init() warn: should 'nr_pages << 12' be a 64 bit type?

the number of patches should be unsigned long.

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