Re: [PATCH] net: stmmac: fix num_por initialization

From: David Miller
Date: Thu May 14 2020 - 15:49:11 EST


From: Vinod Koul <vkoul@xxxxxxxxxx>
Date: Thu, 14 May 2020 11:58:36 +0530

> Driver missed initializing num_por which is por values that driver
> configures to hardware. In order to get this values, add a new structure
> ethqos_emac_driver_data which holds por and num_por values and populate
> that in driver probe.
>
> Fixes: a7c30e62d4b8 ("net: stmmac: Add driver for Qualcomm ethqos")
> Reported-by: Rahul Ankushrao Kawadgave <rahulak@xxxxxxxxxxxxxxxx>
> Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>

Applied and queued up for -stable, thanks.