Home
last modified time | relevance | path

Searched hist:"5 e89cfac2e1e74df075047ca5162a4df1aa11f63" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_reg.hdiff 5e89cfac2e1e74df075047ca5162a4df1aa11f63 Wed Jan 17 20:37:34 CST 2018 Huazhong Tan <tanhuazhong@huawei.com> net: hns: Fix for variable may be used uninitialized warnings

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@ziepe.ca>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dhns_dsaf_misc.cdiff 5e89cfac2e1e74df075047ca5162a4df1aa11f63 Wed Jan 17 20:37:34 CST 2018 Huazhong Tan <tanhuazhong@huawei.com> net: hns: Fix for variable may be used uninitialized warnings

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@ziepe.ca>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>