Re: [PATCH net v1] lan743x: fix use of uninitialized variable

From: Jakub Kicinski
Date: Thu Nov 12 2020 - 13:05:47 EST


On Thu, 12 Nov 2020 10:25:13 -0500 Sven Van Asbroeck wrote:
> From: Sven Van Asbroeck <thesven73@xxxxxxxxx>
>
> When no devicetree is present, the driver will use an
> uninitialized variable.
>
> Fix by initializing this variable.
>
> Fixes: 902a66e08cea ("lan743x: correctly handle chips with internal PHY")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Sven Van Asbroeck <thesven73@xxxxxxxxx>

Applied, thanks!