From: Alan Cox Date: Mon, 9 May 2011 15:04:45 +0000 (+0100) Subject: gma500: Fix dumb create crash X-Git-Tag: v3.0-rc1~336^2~464 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f92e88343e713c65f6edef4ed7883ba37a8ccbfd;p=pandora-kernel.git gma500: Fix dumb create crash The error path from gtt_alloc returns NULL not a ptr error. The underlying fail is caused by a bug in the size calculation. With these two fixed it passes kmstest, although it's not really doing anything useful yet. Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed