Tag: 127a9cbb5860a7cf15f4d4703ab0454e4603e8ac

ASoC: max9867: fix type of variable containing error codes

Author: Andrzej Hajda <a.hajda@samsung.com> value variable can contain error values and is compared with zero. Its type must be signed. The problem has been detected using coccinelle script scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci Signed-off-by: Andrzej Hajda Reviewed-by: Axel Lin Signed-off-by: Mark Brown — sound/soc/codecs/max9867.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)   diff –git a/sound/soc/codecs/max9867.c b/sound/soc/codecs/max9867.c …

Continue reading