Re: [PATCH] IB/hfi1: fix error return code in hfi1_init_dd()

From: Mike Marciniszyn
Date: Fri Nov 13 2020 - 11:13:00 EST




On 11/13/2020 1:42 AM, Zhang Changzhong wrote:
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: 4730f4a6c6b2 ("IB/hfi1: Activate the dummy netdev")
Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: Zhang Changzhong <zhangchangzhong@xxxxxxxxxx>

We actually have this exact patch queued but have not yet sent it.

You saved us the trouble!

Mike

Acked-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxxxxxxxxxxxxx>