]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: update comment regarding reserved bits check
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 1 Apr 2016 23:17:38 +0000 (16:17 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 21 Apr 2016 06:07:32 +0000 (23:07 -0700)
commit24cd6198495e3334fea1147c5fc0efd2bf1bae18
tree3fd71cac5c75d90659e85f357e1d447619c8aa1c
parent0b21c4a45ea1669189f2f4f49398f9ebfcc23d5f
fm10k: update comment regarding reserved bits check

The original comment may be read incorrectly as referring to checking
the *entire* length is zero. However, it merely checks only the reserved
bits of both length and reserved in a small amount of code. Update the
comment to indicate this is a clever trick and clearly spell out that it
only checks the reserve bits.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_vf.c