OpenCloudOS-Kernel/drivers/net/fjes
Jiasheng Jiang db6d6afe38 fjes: Check for error irq
I find that platform_get_irq() will not always succeed.
It will return error irq in case of the failure.
Therefore, it might be better to check it if order to avoid the use of
error irq.

Fixes: 658d439b22 ("fjes: Introduce FUJITSU Extended Socket Network Device driver")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-12-22 10:22:13 +00:00
..
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 308 2019-06-05 17:37:04 +02:00
fjes.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 308 2019-06-05 17:37:04 +02:00
fjes_debugfs.c fjes: no need to check return value of debugfs_create functions 2019-06-22 16:43:08 -07:00
fjes_ethtool.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
fjes_hw.c net: fjes: constify and use eth_hw_addr_set() 2021-10-22 10:16:07 -07:00
fjes_hw.h net: fjes: constify and use eth_hw_addr_set() 2021-10-22 10:16:07 -07:00
fjes_main.c fjes: Check for error irq 2021-12-22 10:22:13 +00:00
fjes_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 308 2019-06-05 17:37:04 +02:00
fjes_trace.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 308 2019-06-05 17:37:04 +02:00
fjes_trace.h treewide: Add missing semicolons to __assign_str uses 2021-06-30 09:19:14 -04:00