commit | 99d7fbb5cedf598f67e8be106d6c7b8d91366aef | [log] [tgz] |
---|---|---|
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | Wed Dec 22 15:59:44 2021 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 22 10:23:50 2021 +0000 |
tree | f724be5f303002b0cde42ab84ccae580a2a75f48 | |
parent | cb93b3e11d405f20a405a07482d01147ef4934a3 [diff] |
net: ks8851: Check for error irq 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>