Skip to content
Commit 9e6cad53 authored by YueHaibing's avatar YueHaibing Committed by Jakub Kicinski
Browse files

net: macb: Fix passing zero to 'PTR_ERR'



Check PTR_ERR with IS_ERR to fix this.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20201112144936.54776-1-yuehaibing@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2e793878
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment