Re: [PATCH v2] drivers: base: fw: fix ret value when loading fw

From: Zahari Doychev
Date: Wed Mar 18 2015 - 03:34:39 EST


On Tue, Mar 10, 2015 at 10:45:40AM +0100, Zahari Doychev wrote:
> When using the user mode helper to load firmwares the function _request_firmware
> gets a positive return value from fw_load_from_user_helper and because of this
> the firmware buffer is not assigned. This happens only when the return value
> is zero. This patch fixes this problem in _request_firmware_load. When the
> completion is ready the return value is set to zero.
>
> Signed-off-by: Zahari Doychev <zahari.doychev@xxxxxxxxx>
> ---
>
> Changes from v1:
> - move handling of wait_for_completion_interruptible_timeout() return value
>

Hi,

what is the status of the patch? Is there something wrong with it?

Regards,
Zahari
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/