diff options
| author | 2021-08-05 13:37:46 +0300 | |
|---|---|---|
| committer | 2021-08-21 20:27:16 +0300 | |
| commit | d0f8430332a16c7baa80ce2886339182c5d85f37 (patch) | |
| tree | 1cff3e2bbf037c7944a5f55f60234a8bf02879e1 /include/linux | |
| parent | ray_cs: Split memcpy() to avoid bounds check warning (diff) | |
rsi: fix error code in rsi_load_9116_firmware()
This code returns success if the kmemdup() fails, but obviously it
should return -ENOMEM instead.
Fixes: e5a1ecc97e5f ("rsi: add firmware loading for 9116 device")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210805103746.GA26417@kili
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
