Jia-Ju Bai <baijiaju1990@xxxxxxxxx> wrote: > When check_fwfile_format() fails, no error return code of > if_usb_prog_firmware() is assigned. > To fix this bug, ret is assigned with -EINVAL as error return code. > > Reported-by: TOTE Robot <oslab@xxxxxxxxxxxxxxx> > Signed-off-by: Jia-Ju Bai <baijiaju1990@xxxxxxxxx> Someone needs to review this. Patch set to Changes Requested. -- https://patchwork.kernel.org/project/linux-wireless/patch/20210305033115.6015-1-baijiaju1990@xxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches