diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2017-09-11 14:21:31 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-25 14:26:26 +0100 |
commit | afccf6f360df511a432d4c2b99f1eb8d9ac369e6 (patch) | |
tree | 318435f5c55260361e72323c621e578a1bc034ef /drivers/net/wireless | |
parent | d1f13dcad56bdd655a29f33b5ac84e0fae48a4eb (diff) |
ixgbe: fix use of uninitialized padding
[ Upstream commit dcfd6b839c998bc9838e2a47f44f37afbdf3099c ]
This patch is resolving Coverity hits where padding in a structure could
be used uninitialized.
- Initialize fwd_cmd.pad/2 before ixgbe_calculate_checksum()
- Initialize buffer.pad2/3 before ixgbe_hic_unlocked()
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions