V4L/DVB (10853): cx18: Fix s-parse warnings and a logic error about extracting the...
authorAndy Walls <awalls@radix.net>
Sat, 28 Feb 2009 21:48:27 +0000 (18:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:09 +0000 (12:43 -0300)
commit583803d135b14d414e77b6d2b546a811cac9944e
tree62f0085134ac586336378980d07e76698623806a
parent386e439f0c32eb540e931b0d1874e3fd1a8a8f10
V4L/DVB (10853): cx18: Fix s-parse warnings and a logic error about extracting the VBI PTS

My s-parse builds never griped about be32_to_cpu() casting to __be32, but Hans'
builds did.  This change explictly declares the pointer into the VBI buffer
header as __be32, which is the correct thing to do as the data is always
big endian when we go to fetch it.  Hopefully this will quiet s-parse warnings.
Also corrected a misplaced parenthesis logic error in checking for the VBI
header magic number.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-vbi.c
This page took 0.025397 seconds and 5 git commands to generate.