From: Michel Dänzer Date: Wed, 19 Mar 2014 08:37:14 +0000 (+0900) Subject: drm/mm: Fix search for smallest hole satisfying constraints X-Git-Tag: v3.15-rc1~51^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=145bccd2397b53f2163c37e73413d80bfcbb8e35;p=pandora-kernel.git drm/mm: Fix search for smallest hole satisfying constraints entry->size is the size of the node, not the size of the hole after it. So the code would actually find the hole which can satisfy the constraints and which is preceded by the smallest node, not the smallest hole satisfying the constraints. Reported-by: "Huang, FrankR" Signed-off-by: Michel Dänzer Signed-off-by: Dave Airlie --- Reading git-diff-tree failed