Re: [PATCH -next] IB/hfi1: Fix error return code in parse_platform_config()

From: Jason Gunthorpe
Date: Mon Apr 12 2021 - 14:29:02 EST


On Thu, Apr 08, 2021 at 11:31:40AM +0000, Wang Wensheng wrote:
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
>
> Fixes: 7724105686e7 ("IB/hfi1: add driver files")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Wang Wensheng <wangwensheng4@xxxxxxxxxx>
> ---
> drivers/infiniband/hw/hfi1/firmware.c | 1 +
> 1 file changed, 1 insertion(+)

Applied to for-next, thanks

Jason