commit | edbc21113bde13ca3d06eec24b621b1f628583dd | [log] [tgz] |
---|---|---|
author | Sven Van Asbroeck <thesven73@gmail.com> | Thu Nov 12 10:25:13 2020 -0500 |
committer | Jakub Kicinski <kuba@kernel.org> | Thu Nov 12 10:03:16 2020 -0800 |
tree | 5cee394dc25e3d196589f88c6084a72ced839994 | |
parent | 5861c8cb1c90fc171d56994827a66a5595a44d56 [diff] |
lan743x: fix use of uninitialized variable 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@intel.com> Signed-off-by: Sven Van Asbroeck <thesven73@gmail.com> Link: https://lore.kernel.org/r/20201112152513.1941-1-TheSven73@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>