Re: [PATCH 1/1] firmware: tegra: Fix error return code in tegra210_bpmp_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 13, 2021 at 09:26:46PM +0800, Zhen Lei wrote:
> When call irq_get_irq_data() to get the IRQ's irq_data failed, an
> appropriate error code -ENOENT should be returned. However, we directly
> return 'err', which records the IRQ number instead of the error code.
> 
> Fixes: 139251fc2208 ("firmware: tegra: add bpmp driver for Tegra210")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx>
> ---
>  drivers/firmware/tegra/bpmp-tegra210.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thierry

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux