Skip to content
Commit 0d528486 authored by Dan Carpenter's avatar Dan Carpenter Committed by Jakub Kicinski
Browse files

qlcnic: Fix error code in probe



Return -EINVAL if we can't find the correct device.  Currently it
returns success.

Fixes: 13159183 ("qlcnic: 83xx base driver")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/X9nHbMqEyI/xPfGd@mwanda


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 86eb09b6
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