Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > 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@xxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. d0f8430332a1 rsi: fix error code in rsi_load_9116_firmware() -- https://patchwork.kernel.org/project/linux-wireless/patch/20210805103746.GA26417@kili/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches