From: Michal Kubecek Date: Wed, 25 Jan 2012 15:51:05 +0000 (+0100) Subject: agp: fix scratch page cleanup X-Git-Tag: v3.3-rc2~20^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=590dfe2f3bbbbeee806ee91bef68ba2a6afc16d2;p=pandora-kernel.git agp: fix scratch page cleanup In error cleanup of agp_backend_initialize() and in agp_backend_cleanup(), agp_destroy_page() is passed virtual address of the scratch page. This leads to a kernel warning if the initialization fails (or upon regular cleanup) as pointer to struct page should be passed instead. Signed-off-by: Michal Kubecek Signed-off-by: Dave Airlie --- Reading git-diff-tree failed