commit | 7986fdbbe0090d208a2299d432f806979f6611b2 | [log] [tgz] |
---|---|---|
author | Zheyu Ma <zheyuma97@gmail.com> | Mon Oct 18 14:32:57 2021 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Nov 18 14:03:41 2021 +0100 |
tree | c1730ddf7b2d1a19f004e5caf5922139c7ba2278 | |
parent | ad01685177ce41afeab8c878405935c817487227 [diff] |
cavium: Fix return values of the probe function [ Upstream commit c69b2f46876825c726bd8a97c7fa852d8932bc32 ] During the process of driver probing, the probe function should return < 0 for failure, otherwise, the kernel will treat value > 0 as success. Signed-off-by: Zheyu Ma <zheyuma97@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>