]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: limit debugfs io ops
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 23 Jul 2015 20:54:37 +0000 (16:54 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:32:04 +0000 (08:32 -0800)
commitb634e312ba311561bf64547d2bcdcac8b4c3519c
treea8dce557ff58656a32f067c124c21689ade27a4e
parentf4a5118df9db1c3737f9965234c13ba1edf36292
i40e: limit debugfs io ops

Orabug: 22342532

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>
(cherry picked from commit 2ac8b675d9466b397f94aa1ead575d39b71b5055)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_debugfs.c
drivers/net/ethernet/intel/i40e/i40e_main.c