]> git.baikalelectronics.ru Git - kernel.git/commit
i40e/i40evf: fix a potential type compare issue
authorShannon Nelson <shannon.nelson@intel.com>
Wed, 26 Aug 2015 19:14:11 +0000 (15:14 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 7 Oct 2015 20:38:11 +0000 (13:38 -0700)
commit07dc9fe0b6126e751177174009fb024e5307bcbd
tree2a3147419146e937e89ff9797e3d1c36eae63444
parent3bd3eef4a7b8d67e305cd0fbc5d13cdc832f9110
i40e/i40evf: fix a potential type compare issue

Rework an if expression to assure there is no type compare problem between
a size and a possible negative number.

Change-ID: I4921fcc96abfcf69490efce020a9e4007f251c99
Reported-by: Helin Zhang <helin.zhang@intel.com>
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_adminq.h
drivers/net/ethernet/intel/i40evf/i40e_adminq.h