[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190208.230117.1867217574108955553.davem@davemloft.net>
Date: Fri, 08 Feb 2019 23:01:17 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yzhai003@....edu
Cc: csong@...ucr.edu, zhiyunq@...ucr.edu, peppe.cavallaro@...com,
alexandre.torgue@...com, maxime.ripard@...e-electrons.com,
wens@...e.org, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: stmmac: Variable "val" in function
sun8i_dwmac_set_syscon() could be uninitialized
From: Yizhuo <yzhai003@....edu>
Date: Thu, 7 Feb 2019 09:46:23 -0800
> In function sun8i_dwmac_set_syscon(), local variable "val" could
> be uninitialized if function regmap_read() returns -EINVAL.
> However, it will be used directly in the if statement, which
> is potentially unsafe.
>
> Signed-off-by: Yizhuo <yzhai003@....edu>
This doesn't apply to any of my trees.
Powered by blists - more mailing lists