[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190104134937.GB4140@sirena.org.uk>
Date: Fri, 4 Jan 2019 13:49:37 +0000
From: Mark Brown <broonie@...nel.org>
To: Yizhuo <yzhai003@....edu>
Cc: csong@...ucr.edu, zhiyunq@...ucr.edu,
Bard Liao <bardliao@...ltek.com>,
Oder Chiou <oder_chiou@...ltek.com>,
Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Variable "val" in function rt274_i2c_probe() could be
uninitialized
On Thu, Jan 03, 2019 at 01:59:12PM -0800, Yizhuo wrote:
> Inside function rt274_i2c_probe(), if regmap_read() function
> returns -EINVAL, then local variable "val" leaves uninitialized
> but used in if statement. This is potentially unsafe.
Please use subject lines matching the style for the subsystem. This
makes it easier for people to identify relevant patches.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists