diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-01-12 10:15:11 +0200 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2022-01-17 14:37:28 +0200 |
commit | c9b41832dc080fa59bad597de94865b3ea2d5bab (patch) | |
tree | 11714c8e7c2e57ffc6614b6d2783a988ce495fc7 /drivers/i2c | |
parent | 3cd04a438754aaa4297a5561ad9149eda73ce14d (diff) |
ath11k: fix error code in ath11k_qmi_assign_target_mem_chunk()
The "ret" vairable is not set at this point. It could be uninitialized
or zero. The correct thing to return is -ENODEV.
Fixes: 6ac04bdc5edb ("ath11k: Use reserved host DDR addresses from DT for PCI devices")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220111071445.GA11243@kili
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions