diff options
| author | Kiran Patil <kiran.patil@intel.com> | 2019-02-27 03:35:10 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-03-22 18:19:17 +0300 |
| commit | 60dcc39ea338dbc9d33dad8f788320950f85e0f3 (patch) | |
| tree | 172f72febcacf500b71193c9383f5c878360f126 /scripts/stackdelta | |
| parent | 5743020d37d7e92c24c0a5d506989bdfacfddde4 (diff) | |
| download | linux-60dcc39ea338dbc9d33dad8f788320950f85e0f3.tar.xz | |
ice: fix the divide by zero issue
Static analysis flagged a potential divide by zero error because
vsi->num_rxq can become zero in certain condition and it is used as
divisor.
Signed-off-by: Kiran Patil <kiran.patil@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'scripts/stackdelta')
0 files changed, 0 insertions, 0 deletions
