[alsa-devel] [patch] ASoC: rt5663: fix a debug statement

Bard Liao bardliao at realtek.com
Thu Oct 13 11:13:47 CEST 2016


> -----Original Message-----
> From: Dan Carpenter [mailto:dan.carpenter at oracle.com]
> Sent: Thursday, October 13, 2016 4:47 PM
> To: Bard Liao
> Cc: Oder Chiou; Liam Girdwood; Mark Brown; Jaroslav Kysela; Takashi Iwai;
> alsa-devel at alsa-project.org; linux-kernel at vger.kernel.org;
> kernel-janitors at vger.kernel.org
> 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 at oracle.com>
> 
Acked-by: Bard Liao <bardliao at realtek.com>


More information about the Alsa-devel mailing list