From: Dan Carpenter Date: Wed, 17 Apr 2013 06:20:30 +0000 (-0300) Subject: [media] go7007: dubious one-bit signed bitfields X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~104^2^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c93c40080bda655295ae3673dfb26dee34d9d49;p=pandora-kernel.git [media] go7007: dubious one-bit signed bitfields Because they're signed, "is_video" and "is_audio" can be 0 and -1 instead of 0 and 1 as intended. It doesn't cause a bug, but it makes Sparse complain: drivers/staging/media/go7007/go7007-priv.h:94:31: error: dubious one-bit signed bitfield drivers/staging/media/go7007/go7007-priv.h:95:31: error: dubious one-bit signed bitfield Signed-off-by: Dan Carpenter Acked-by: Hans Verkuil Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed