]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 06:04:09 +0000 (22:04 -0800)
commitfc99c1fa881cb836bb05520d0940bce193a74f38
treee201f87a4589286d26421f7de95d5d7feda414d8
parenta200684ae566a24463930c945780cb6c20d1be3c
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>
Orabug: 25394529
(cherry picked from commit fb6515c8f03bbfdc99cff156becd5e14df1dd601)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/fm10k/fm10k_vf.c