]> Pileus Git - ~andy/linux/commit
ASoC: rcar: some dubious one-bit signed bitfields
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Nov 2013 09:46:53 +0000 (12:46 +0300)
committerMark Brown <broonie@linaro.org>
Sun, 24 Nov 2013 13:42:44 +0000 (13:42 +0000)
commita37377314ff068c83f425979142263a17a6f18af
treebd74c160350e817ed94c0cb93eaffecc89896412
parent324752632a2017cc2e2464d110445328ad2a987c
ASoC: rcar: some dubious one-bit signed bitfields

Because these are signed they can either be 0 or -1 instead of 0 and 1
as intended.  It doesn't cause a problem from what I can see, but it's
dangerous and Sparse complains:

sound/soc/sh/rcar/rsnd.h:177:25:
error: dubious one-bit signed bitfield

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/sh/rcar/rsnd.h