From: Lars-Peter Clausen Date: Thu, 19 Jun 2014 07:40:31 +0000 (+0200) Subject: ASoC: sh/fsi: Make one-bit bitfields unsigned X-Git-Tag: omap-for-v3.17/fixes-against-rc2~144^2~5^2~4^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f98cd69c1517e05aa00ab843f054457cc3488c1;p=pandora-kernel.git ASoC: sh/fsi: Make one-bit bitfields unsigned One-bit signed bitfields have two possible values: 0 and -1. This sometimes leads to unexpected results (e.g. foo.bar = 1; foo.bar == 1 => false) which is why it is recommended to make one-bit bitfields unsigned. This fixes the following sparse warnings: sound/soc/sh/fsi.c:267:25: error: dubious one-bit signed bitfield sound/soc/sh/fsi.c:268:22: error: dubious one-bit signed bitfield sound/soc/sh/fsi.c:269:20: error: dubious one-bit signed bitfield sound/soc/sh/fsi.c:270:28: error: dubious one-bit signed bitfield sound/soc/sh/fsi.c:271:26: error: dubious one-bit signed bitfield sound/soc/sh/fsi.c:272:25: error: dubious one-bit signed bitfield Signed-off-by: Lars-Peter Clausen Acked-by: Kuninori Morimoto Signed-off-by: Mark Brown --- Reading git-diff-tree failed