]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx23885-alsa: fix a false gcc warning at dprintk()
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Oct 2012 15:34:10 +0000 (12:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Oct 2012 20:01:49 +0000 (18:01 -0200)
commitfbc8d76884f1dc704954c90b347de8a6e534b576
treeeb2a223e59fb226884cc132d1ba12d068d42a3b2
parentc51dc6d7c36040199b7b6dc46bd75626332dec31
[media] cx23885-alsa: fix a false gcc warning at dprintk()

Change dprintk logic to avoid the following warning:
drivers/media/pci/cx23885/cx23885-alsa.c: In function 'cx23885_audio_register':
drivers/media/pci/cx23885/cx23885-alsa.c:515:2: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/cx23885/cx23885-alsa.c