diff options
author | Maor Dickman <maord@nvidia.com> | 2022-01-30 16:00:41 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-02-01 20:59:42 -0800 |
commit | d8e5883d694bb053b19c4142a2d1f43a34f6fe2c (patch) | |
tree | b0ff21175bc4a44812e0a7e0f999de84a86a1a55 /drivers/pnp | |
parent | ec41332e02bd0acf1f24206867bb6a02f5877a62 (diff) | |
download | linux-d8e5883d694bb053b19c4142a2d1f43a34f6fe2c.tar.bz2 |
net/mlx5: E-Switch, Fix uninitialized variable modact
The variable modact is not initialized before used in command
modify header allocation which can cause command to fail.
Fix by initializing modact with zeros.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: 8f1e0b97cc70 ("net/mlx5: E-Switch, Mark miss packets with new chain id mapping")
Signed-off-by: Maor Dickman <maord@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions