diff options
author | Michal Kosiarz <michal.kosiarz@intel.com> | 2016-10-11 15:26:56 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-10-31 14:26:40 -0700 |
commit | 999b315d39906341fadcb65ee6aba7f5cf38b830 (patch) | |
tree | 78da18c0303a88efe6f24f7544a5b7b63499903b /lib | |
parent | 13fd3f9cc3def8b276c7913ae4acbfa2653cb198 (diff) |
i40e: Fix for division by zero
For some cases when reading from device are incorrect or image is
incorrect, this part of code causes crash due to division by zero.
Change-ID: I8961029a7a87b0a479995823ef8fcbf6471405e1
Signed-off-by: Michal Kosiarz <michal.kosiarz@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions