From: Thomas Gleixner Date: Mon, 2 Feb 2015 02:42:48 +0000 (+0800) Subject: ACPI: Implement proper length checks for mem resources X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~144^2~6^2~21 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c420dbd13ef7f399a865498496ac9ce2755b8007;p=pandora-kernel.git 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 Signed-off-by: Jiang Liu Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed