commit | 75c962f02a4ff639caaf1e5f075eb93b4e284972 | [log] [tgz] |
---|---|---|
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | Wed Dec 22 15:59:44 2021 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 29 12:25:58 2021 +0100 |
tree | 91d04982b0a24ea7e0c9fbb7c434298473854879 | |
parent | 9db0f8d395fd3af0952a6e4d66fbd11a83e34e8a [diff] |
net: ks8851: Check for error irq [ Upstream commit 99d7fbb5cedf598f67e8be106d6c7b8d91366aef ] Because platform_get_irq() could fail and return error irq. Therefore, it might be better to check it if order to avoid the use of error irq. Fixes: 797047f875b5 ("net: ks8851: Implement Parallel bus operations") 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>