Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19592
b: refs/heads/master
c: f1e5c03
h: refs/heads/master
v: v3
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Jan 25, 2006
1 parent b9be494 commit 582e471
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2fed3bd7436e8988980989493c16b4983be1a800
refs/heads/master: f1e5c03d34c39394781ae13543cd3355976e4812
6 changes: 3 additions & 3 deletions trunk/drivers/char/drm/ati_pcigart.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static void *drm_ati_alloc_pcigart_table(void)

address = __get_free_pages(GFP_KERNEL, ATI_PCIGART_TABLE_ORDER);
if (address == 0UL) {
return 0;
return NULL;
}

page = virt_to_page(address);
Expand Down Expand Up @@ -127,7 +127,7 @@ int drm_ati_pcigart_cleanup(drm_device_t *dev, drm_ati_pcigart_info *gart_info)
if (gart_info->gart_table_location == DRM_ATI_GART_MAIN
&& gart_info->addr) {
drm_ati_free_pcigart_table(gart_info->addr);
gart_info->addr = 0;
gart_info->addr = NULL;
}

return 1;
Expand Down Expand Up @@ -168,7 +168,7 @@ int drm_ati_pcigart_init(drm_device_t *dev, drm_ati_pcigart_info *gart_info)
if (bus_address == 0) {
DRM_ERROR("unable to map PCIGART pages!\n");
drm_ati_free_pcigart_table(address);
address = 0;
address = NULL;
goto done;
}
} else {
Expand Down

0 comments on commit 582e471

Please sign in to comment.