ixgbe: resolve shift of negative value warning
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 13 Apr 2016 23:08:23 +0000 (16:08 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Apr 2016 11:21:38 +0000 (04:21 -0700)
commit3e973dc4b93da06e38b263c9bd7e239d8f3f251f
treed0589d984d7284bee9a0845001c03227d896c813
parentb4f47a483045a6e6b31be8ade76cdfef7091f18b
ixgbe: resolve shift of negative value warning

Make use of GENMASK instead of open coding the equivalent operation
incorrectly.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c