linux/drivers/net/fjes
Jiasheng Jiang 643c89669e fjes: Check for error irq
[ Upstream commit db6d6afe38 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-12-29 12:28:44 +01: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 remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
fjes_hw.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 308 2019-06-05 17:37:04 +02:00
fjes_main.c fjes: Check for error irq 2021-12-29 12:28:44 +01: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
fjes.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 308 2019-06-05 17:37:04 +02:00
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 308 2019-06-05 17:37:04 +02:00