From: Dan Carpenter Date: Wed, 29 Oct 2014 08:45:04 +0000 (+0300) Subject: percpu: off by one in BUG_ON() X-Git-Tag: omap-for-v3.19/fixes-rc1~120^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f295664e2f2cdf53c596f74bcf3f644cae9fecc;p=pandora-kernel.git percpu: off by one in BUG_ON() The unit_map[] array has "nr_cpu_ids" number of elements. It's allocated a few lines earlier in the function. So this test should be >= instead of >. Signed-off-by: Dan Carpenter Signed-off-by: Tejun Heo --- Reading git-diff-tree failed