Skip to content
Commit 590dfe2f authored by Michal Kubecek's avatar Michal Kubecek Committed by Dave Airlie
Browse files

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: default avatarMichal Kubecek <mkubecek@suse.cz>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent c8fe74ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment