Re: [PATCH 2/2] ASoC: max9867: fix type of variable containing error codes

2016-02-22 Thread Axel Lin
2016-02-23 14:45 GMT+08:00 Andrzej Hajda : > value variable can contain error values and is compared with zero. > Its type must be signed. Reviewed-by: Axel Lin

[PATCH 2/2] ASoC: max9867: fix type of variable containing error codes

2016-02-22 Thread Andrzej Hajda
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 --- sound/soc/codecs/max9867.c | 3 ++- 1 file changed, 2 inser