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)
commit7463773187a917a8b19961a14d2bf48d8cdfa28e
treef4eef5616a926808f9826c4d7c514bc6449d7f1a
parent99c2ec04e737b743ab1506a1b1d10ea208106484
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