linux/drivers/net/ethernet/hisilicon/hns
Huazhong Tan 5e89cfac2e 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: 86897c960b ("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>
2018-01-22 15:36:44 -05:00
..
hnae.c net: hns: Add self-adaptive interrupt coalesce support in hns driver 2017-08-03 09:21:14 -07:00
hnae.h net: hns: Add self-adaptive interrupt coalesce support in hns driver 2017-08-03 09:21:14 -07:00
hns_ae_adapt.c net: hns: Add self-adaptive interrupt coalesce support in hns driver 2017-08-03 09:21:14 -07:00
hns_dsaf_gmac.c net: hns: fix ethtool_get_strings overflow in hns driver 2017-05-02 15:08:21 -04:00
hns_dsaf_gmac.h
hns_dsaf_mac.c net: hns: add ACPI mode support for ethtool -p 2018-01-02 14:50:39 -05:00
hns_dsaf_mac.h format-security: move static strings to const 2017-05-08 17:15:14 -07:00
hns_dsaf_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-04-06 08:24:51 -07:00
hns_dsaf_main.h net: hns: Some checkpatch.pl script & warning fixes 2017-04-03 14:48:43 -07:00
hns_dsaf_misc.c net: hns: Fix for variable may be used uninitialized warnings 2018-01-22 15:36:44 -05:00
hns_dsaf_misc.h net: hns: Add support of ACPI to HNS driver RoCE Reset function 2016-08-25 10:05:10 -04:00
hns_dsaf_ppe.c net: hns: fix ethtool_get_strings overflow in hns driver 2017-05-02 15:08:21 -04:00
hns_dsaf_ppe.h net: hns: separate debug dsaf device from service dsaf device 2016-04-26 01:09:17 -04:00
hns_dsaf_rcb.c net: hns: fix ethtool_get_strings overflow in hns driver 2017-05-02 15:08:21 -04:00
hns_dsaf_rcb.h net: hns: support deferred probe when can not obtain irq 2017-04-30 22:39:24 -04:00
hns_dsaf_reg.h net: hns: Fix for variable may be used uninitialized warnings 2018-01-22 15:36:44 -05:00
hns_dsaf_xgmac.c net: hns: fix ethtool_get_strings overflow in hns driver 2017-05-02 15:08:21 -04:00
hns_dsaf_xgmac.h net: hns: fix to intimate the link-status change by adding LF/RF method 2016-11-10 11:45:37 -05:00
hns_enet.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-02 15:23:39 +09:00
hns_enet.h net: hns: Add self-adaptive interrupt coalesce support in hns driver 2017-08-03 09:21:14 -07:00
hns_ethtool.c net: hns: Add self-adaptive interrupt coalesce support in hns driver 2017-08-03 09:21:14 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00