Re: [patch 2/2] ASoC: max9867: silence and array overflow warning

2016-02-25 Thread Axel Lin
2016-02-25 15:50 GMT+08:00 Dan Carpenter : > Smatch complains that we might reach the end of this loop without > finding what we're looking for leading to a buffer overflow. > > Signed-off-by: Dan Carpenter Reviewed-by: Axel Lin

[patch 2/2] ASoC: max9867: silence and array overflow warning

2016-02-24 Thread Dan Carpenter
Smatch complains that we might reach the end of this loop without finding what we're looking for leading to a buffer overflow. Signed-off-by: Dan Carpenter diff --git a/sound/soc/codecs/max9867.c b/sound/soc/codecs/max9867.c index 4fb6fc7..9fb03c6 100755 --- a/sound/soc/codecs/max9867.c +++ b/so