]> git.karo-electronics.de Git - karo-tx-linux.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)
commita041e103d8571c6cde3ce646cfa2540af1f2a77a
treeeb2a223e59fb226884cc132d1ba12d068d42a3b2
parentada73eee1246768d5ec6f1e3b8882a5dd0456266
[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