summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-11-29 09:46:02 +1000
committerDave Airlie <airlied@linux.ie>2007-11-29 09:46:02 +1000
commit4602b6687ebb0dcf5047f2c3d88dccd751558c81 (patch)
tree7ba11bc148b62e7acfbc555c4e5a414782fd08a5
parent9be085cbf44ac8bd3bc6fe3e9b55df6fec7ac389 (diff)
drm: oops not a cleanup..
-rw-r--r--linux-core/drm_agpsupport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_agpsupport.c b/linux-core/drm_agpsupport.c
index b5dcbb35..e8bfaea4 100644
--- a/linux-core/drm_agpsupport.c
+++ b/linux-core/drm_agpsupport.c
@@ -522,7 +522,7 @@ static int drm_agp_populate(struct drm_ttm_backend *backend,
mem = drm_agp_allocate_memory(agp_be->bridge, num_pages, AGP_USER_MEMORY);
#endif
if (!mem) {
- drm_free_memctl(num_pages *sizeof(void *));
+ drm_free_memctl(num_pages * sizeof(void *));
return -1;
}