RE: [patch] ASoC: rt5663: fix a debug statement

From: Bard Liao
Date: Thu Oct 13 2016 - 05:16:15 EST

> -----Original Message-----
> From: Dan Carpenter [mailto:dan.carpenter@xxxxxxxxxx]
> Sent: Thursday, October 13, 2016 4:47 PM
> To: Bard Liao
> Cc: Oder Chiou; Liam Girdwood; Mark Brown; Jaroslav Kysela; Takashi Iwai;
> alsa-devel@xxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> kernel-janitors@xxxxxxxxxxxxxxx
> Subject: [patch] ASoC: rt5663: fix a debug statement
> We increment "i" before printing the debug statement. That makes it the
> wrong sleep_time[] information and Smatch complains that the last increment
> could be beyond the end of the array.
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Acked-by: Bard Liao <bardliao@xxxxxxxxxxx>