[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170427142810.GJ6263@localhost>
Date: Thu, 27 Apr 2017 19:58:10 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, Jeeja KP <jeeja.kp@...el.com>,
Jayachandran B <jayachandran.b@...el.com>,
Senthilnathan Veppur <senthilnathanx.veppur@...el.com>,
"Subhransu S. Prusty" <subhransu.s.prusty@...el.com>,
Ramesh Babu <ramesh.babu@...el.com>,
G Kranthi <gudishax.kranthikumar@...el.com>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ASoC: Intel: Skylake: fix uninitialized pointer use
On Thu, Apr 27, 2017 at 12:59:58PM +0200, Arnd Bergmann wrote:
> The error handling in bxt_sst_dsp_init() got changed in a way that
> it now derefences an uninitialized pointer when printing a warning
> about the device not being found:
>
> sound/soc/intel/skylake/bxt-sst.c: In function 'bxt_sst_dsp_init':
> sound/soc/intel/skylake/bxt-sst.c:567:14: error: 'skl' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>
> As we do have a valid device pointer available at the call site,
> let's use that instead.
Thanks Arnd for this fix, but this was also reported by SFR earlier today
and have pasoted same patch via
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-April/120214.html
Patches are same, so Mark can take either :)
--
~Vinod
Powered by blists - more mailing lists