diff options
author | Shannon Nelson <shannon.nelson@intel.com> | 2015-08-26 15:14:11 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-10-07 13:38:11 -0700 |
commit | df08fd4dbcc95cbc5a35745b6a77a9df0dc5776f (patch) | |
tree | 2a3147419146e937e89ff9797e3d1c36eae63444 /net/switchdev/switchdev.c | |
parent | bc5166b908aaa126d524b84c767323b75c17bdee (diff) |
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions