diff options
author | Yuji Ishikawa <yuji2.ishikawa@toshiba.co.jp> | 2022-01-27 13:17:14 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-28 15:28:30 +0100 |
commit | 928d6fe996f69330ded6b887baf4534c5fac7988 (patch) | |
tree | eeb4925387633fb053b7739fd75c75818ca24b04 /net/wireless | |
parent | net: amd-xgbe: ensure to reset the tx_timer_active flag (diff) | |
download | linux-928d6fe996f69330ded6b887baf4534c5fac7988.tar.xz linux-928d6fe996f69330ded6b887baf4534c5fac7988.zip |
net: stmmac: dwmac-visconti: No change to ETHER_CLOCK_SEL for unexpected speed request.
Variable clk_sel_val is not initialized in the default case of the first switch statement.
In that case, the function should return immediately without any changes to the hardware.
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: b38dd98ff8d0 ("net: stmmac: Add Toshiba Visconti SoCs glue driver")
Signed-off-by: Yuji Ishikawa <yuji2.ishikawa@toshiba.co.jp>
Reviewed-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions