From: Dan Ehrenberg Date: Thu, 2 Apr 2015 22:15:12 +0000 (-0700) Subject: mtd: part: Remove partition overlap checks X-Git-Tag: omap-for-v4.1/fixes-rc1~47^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a434f66e6dab645d74a59c95651cdbe16497a50;p=pandora-kernel.git mtd: part: Remove partition overlap checks This patch makes MTD dynamic partitioning more flexible by removing overlap checks for dynamic partitions. I don't see any particular reason why overlapping dynamic partitions should be prohibited while static partitions are allowed to overlap freely. The checks previously had an off-by-one error, where 'end' should be one less than what it is currently set at, and adding partitions out of increasing order will fail. Disabling the checks resolves this issue. Signed-off-by: Dan Ehrenberg Signed-off-by: Brian Norris --- Reading git-diff-tree failed