diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-12-16 11:38:04 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-30 11:26:05 +0100 |
| commit | c371bf491e00d94637e4cdb461b6f1619ad6443a (patch) | |
| tree | d1a342b124d1ff61e354b2b379a8108f52468bf3 /scripts | |
| parent | b4281b2f75ffc5df34394b9157d9259aea9dcea2 (diff) | |
qlcnic: Fix error code in probe
[ Upstream commit 0d52848632a357948028eab67ff9b7cc0c12a0fb ]
Return -EINVAL if we can't find the correct device. Currently it
returns success.
Fixes: 13159183ec7a ("qlcnic: 83xx base driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/X9nHbMqEyI/xPfGd@mwanda
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
