i40e: limit debugfs io ops
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 23 Jul 2015 20:54:37 +0000 (16:54 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Sep 2015 12:28:36 +0000 (05:28 -0700)
commit2ac8b675d9466b397f94aa1ead575d39b71b5055
tree5d086dbffadbfdbc9a2808121d19f57840aa0fac
parentf7fc2f2eb11fe808df330df42a9429aa5b804388
i40e: limit debugfs io ops

Don't let the debugfs register read and write commands try to access
outside of the ioremapped space.  While we're at it, remove the use of
a misleading constant.

Change-ID: Ifce2893e232c65c7a76c23532c658f298218a81b
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>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_debugfs.c
drivers/net/ethernet/intel/i40e/i40e_main.c