diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-02-15 16:11:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-15 15:21:46 -0800 |
commit | f6724cd497974dcd74ea54bfb478dd47750cd52b (patch) | |
tree | 41d22e2f33b9aec5dc1e44d8b67919ad7f6e31e1 /lib | |
parent | 93e8990c24bee30696c02e8f6aed043333491a25 (diff) | |
download | linux-f6724cd497974dcd74ea54bfb478dd47750cd52b.tar.bz2 |
i40e: Fix uninitialized variable mfs_max
The variable mfs_max is not initialized and is being compared to find
the maximum value. Fix this by initializing it to 0.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: 90bc8e003be2 ("i40e: Add hardware configuration for software based DCB")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions