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:22:14 +0100 |
| commit | aa6d09cea6df98a907e13a7d95083d114d8d4413 (patch) | |
| tree | 6a4d25fcb5e44ec27e193e292568ebb47645ae33 /lib/mpi/mpi-inline.h | |
| parent | cffbf0ffc47c5a3a438bd9d792fa541b3069b380 (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 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
