RE: [PATCH] qed: initialize return rc to avoid returning garbage
From: Yuval Mintz
Date: Tue Mar 29 2016 - 14:43:41 EST
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> in the case where qed_slowpath_irq_req is not called, rc is not assigned and so
> qed_int_igu_enable will return a garbage value.
> Fix this by initializing rc to 0.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Thanks Colin.
Acked-by: Yuval Mintz <Yuval.Mintz@xxxxxxxxxx>