diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-02-02 05:42:48 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-02-04 00:27:16 +0300 |
commit | c420dbd13ef7f399a865498496ac9ce2755b8007 (patch) | |
tree | edb3e22863c5d0a2025242a2b8af47dd60730666 /drivers/cpufreq/cris-etraxfs-cpufreq.c | |
parent | c793504de3de484076e1eb96d5187af55f47945c (diff) | |
download | linux-c420dbd13ef7f399a865498496ac9ce2755b8007.tar.xz |
ACPI: Implement proper length checks for mem resources
Check whether the resulting length is the same as the given
length. Check for start <= end as well.
We need to hand in the resource for this, so we can apply the flags
directly.
[Jiang] Remove enforcement that resource starting address must be
non-zero.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cris-etraxfs-cpufreq.c')
0 files changed, 0 insertions, 0 deletions