aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_txrx.c
diff options
context:
space:
mode:
authorKiran Patil <kiran.patil@intel.com>2019-02-26 16:35:10 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-03-22 08:19:17 -0700
commit60dcc39ea338dbc9d33dad8f788320950f85e0f3 (patch)
tree172f72febcacf500b71193c9383f5c878360f126 /drivers/net/ethernet/intel/ice/ice_txrx.c
parentice: Fix issue reconfiguring VF queues (diff)
downloadlinux-dev-60dcc39ea338dbc9d33dad8f788320950f85e0f3.tar.xz
linux-dev-60dcc39ea338dbc9d33dad8f788320950f85e0f3.zip
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/net/ethernet/intel/ice/ice_txrx.c')
0 files changed, 0 insertions, 0 deletions