diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-08-16 21:39:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-15 09:47:36 +0200 |
commit | b58cf18e384d8af26f316ddb4b3ad9c08befa70d (patch) | |
tree | 348538e57aca973858efc23db0e2f2ec492ef02f /security/Makefile | |
parent | d82fe3dd0b0f1d386261aba9ec1ed025368b403c (diff) |
rsi: fix an error code in rsi_probe()
[ Upstream commit 9adcdf6758d7c4c9bdaf22d78eb9fcae260ed113 ]
Return -ENODEV instead of success for unsupported devices.
Fixes: 54fdb318c111 ("rsi: add new device model for 9116")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210816183947.GA2119@kili
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security/Makefile')
0 files changed, 0 insertions, 0 deletions