Searched hist:"7 fea67710e9f6a111a2c9440576f2396ccd92d57" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/firmware/tegra/ |
H A D | bpmp-tegra210.c | diff 7fea67710e9f6a111a2c9440576f2396ccd92d57 Thu May 13 08:26:46 CDT 2021 Zhen Lei <thunder.leizhen@huawei.com> firmware: tegra: Fix error return code in tegra210_bpmp_init()
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@huawei.com> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
|