[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180122.153657.482791615191380530.davem@davemloft.net>
Date: Mon, 22 Jan 2018 15:36:57 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: tanhuazhong@...wei.com
Cc: huangdaode@...ilicon.com, xuwei5@...ilicon.com,
liguozhu@...ilicon.com, gabriele.paoloni@...wei.com,
john.garry@...wei.com, linuxarm@...wei.com,
yisen.zhuang@...wei.com, salil.mehta@...wei.com,
lipeng321@...wei.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: hns: Fix for variable may be used
uninitialized warnings
From: Huazhong Tan <tanhuazhong@...wei.com>
Date: Thu, 18 Jan 2018 10:37:34 +0800
> When !CONFIG_REGMAP hns throws compiler warnings since
> dsaf_read_syscon ignores the return result from regmap_read,
> which allows val to be uninitialized.
>
> Fixes: 86897c960b49 ("net: hns: add syscon operation for dsaf")
> Reported-by: Jason Gunthorpe <jgg@...pe.ca>
> Signed-off-by: Huazhong Tan <tanhuazhong@...wei.com>
> Signed-off-by: Yunsheng Lin <linyunsheng@...wei.com>
Applied, thank you.
Powered by blists - more mailing lists