linux/drivers/net/ethernet/intel/iavf
Jia-Ju Bai 6650d31f21 net: intel: iavf: fix error return code of iavf_init_get_resources()
When iavf_process_config() fails, no error return code of
iavf_init_get_resources() is assigned.
To fix this bug, err is assigned with the return value of
iavf_process_config(), and then err is checked.

Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-05 12:59:32 -08:00
..
iavf.h
iavf_adminq.c
iavf_adminq.h intel-ethernet: clean up W=1 warnings in kdoc 2020-09-25 16:28:59 -07:00
iavf_adminq_cmd.h
iavf_alloc.h
iavf_client.c
iavf_client.h
iavf_common.c
iavf_devids.h
iavf_ethtool.c
iavf_main.c net: intel: iavf: fix error return code of iavf_init_get_resources() 2021-03-05 12:59:32 -08:00
iavf_osdep.h
iavf_prototype.h
iavf_register.h
iavf_status.h
iavf_trace.h intel-ethernet: clean up W=1 warnings in kdoc 2020-09-25 16:28:59 -07:00
iavf_txrx.c net: use the new dev_page_is_reusable() instead of private versions 2021-02-04 18:20:14 -08:00
iavf_txrx.h intel-ethernet: clean up W=1 warnings in kdoc 2020-09-25 16:28:59 -07:00
iavf_type.h
iavf_virtchnl.c iavf: Use kzalloc for allocating only one thing 2021-01-05 15:43:41 -08:00
Makefile