]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: clean up debug_read_register
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 27 Feb 2015 09:15:23 +0000 (09:15 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 7 Mar 2015 12:59:43 +0000 (04:59 -0800)
commit60e7062529273d5231514c011c9f92c402a853bf
tree03254d89e6a0ac7f0f0e24e15d754229c6afb77a
parentb8bd2d728f401ff37bf7b33e17489487c02930d2
i40e: clean up debug_read_register

There were some additional spaces and strange (double swapping) logic
in this function that I started looking at because sparse was warning.

This fixes the sparse warning and fixes up the other issues.

Change-ID: I72a91a4197cd45921602649040e6bd25e5f17c0a
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c