commit | 957473880146f9b441decc8f328d318ffe10bb99 | [log] [tgz] |
---|---|---|
author | Tony Truong <truong@codeaurora.org> | Fri Jan 06 14:03:03 2017 -0800 |
committer | Tony Truong <truong@codeaurora.org> | Sun Apr 09 23:20:27 2017 -0700 |
tree | 63e5907306dfa2d5d42a88c92466740e08110051 | |
parent | 417efa2a8c54ccbb5a941b613121c9d3e36dd45d [diff] |
msm: pcie: add bounds check for debugfs register write Via debugfs nodes, users have the option to read and write to any PCIe register. To ensure clients do not access registers outside the PCIe range, add checks to validate the offset clients provide. Change-Id: Ia35cd04c57f01c21a47962be596bca395b5ca247 Signed-off-by: Tony Truong <truong@codeaurora.org>