Skip to content
Snippets Groups Projects
Commit 99d7fbb5 authored by Jiasheng Jiang's avatar Jiasheng Jiang Committed by David S. Miller
Browse files

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: 797047f8 ("net: ks8851: Implement Parallel bus operations")
Signed-off-by: default avatarJiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cb93b3e1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment