diff options
author | 2021-11-23 16:44:46 +0100 | |
---|---|---|
committer | 2021-11-24 17:28:34 -0800 | |
commit | 0898ca67b86e14207d4feb3f3fea8b87cec5aab1 (patch) | |
tree | 1c3e011629d3a8226be86fc0119fe38504c62ad1 /net/core/sock.c | |
parent | cxgb4: allow reading unrecognized port module eeprom (diff) | |
download | wireguard-linux-0898ca67b86e14207d4feb3f3fea8b87cec5aab1.tar.xz wireguard-linux-0898ca67b86e14207d4feb3f3fea8b87cec5aab1.zip |
net: dsa: qca8k: fix warning in LAG feature
Fix warning reported by bot.
Make sure hash is init to 0 and fix wrong logic for hash_type in
qca8k_lag_can_offload.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: def975307c01 ("net: dsa: qca8k: add LAG support")
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211123154446.31019-1-ansuelsmth@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions