diff options
author | Kiran Patil <kiran.patil@intel.com> | 2019-02-26 16:35:10 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-03-22 08:19:17 -0700 |
commit | 60dcc39ea338dbc9d33dad8f788320950f85e0f3 (patch) | |
tree | 172f72febcacf500b71193c9383f5c878360f126 /drivers/block/skd_main.c | |
parent | 5743020d37d7e92c24c0a5d506989bdfacfddde4 (diff) |
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 'drivers/block/skd_main.c')
0 files changed, 0 insertions, 0 deletions