diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-03-05 20:14:18 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-03-13 05:24:19 +0100 |
commit | 8f497aade8df2a619eacda927a43ebe82167a84c (patch) | |
tree | a39b1681cf1075d62b2db5fbb2417997d3377320 /drivers/gpu/drm/radeon/r600_cp.c | |
parent | drm/radeon: fix r600 pci mapping calls. (diff) | |
download | linux-8f497aade8df2a619eacda927a43ebe82167a84c.tar.xz linux-8f497aade8df2a619eacda927a43ebe82167a84c.zip |
drm/radeon: NULL noise: drivers/gpu/drm/radeon/radeon_*.c
Fix this sparse warning:
drivers/gpu/drm/radeon/r600_cp.c:1811:52: warning: Using plain integer as NULL pointer
drivers/gpu/drm/radeon/radeon_cp.c:1363:52: warning: Using plain integer as NULL pointer
drivers/gpu/drm/radeon/radeon_state.c:1983:61: warning: Using plain integer as NULL pointer
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_cp.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r600_cp.c b/drivers/gpu/drm/radeon/r600_cp.c index be2bba66d5d9..6f2cc74350c5 100644 --- a/drivers/gpu/drm/radeon/r600_cp.c +++ b/drivers/gpu/drm/radeon/r600_cp.c @@ -1811,7 +1811,7 @@ int r600_do_cleanup_cp(struct drm_device *dev) if (dev_priv->gart_info.gart_table_location == DRM_ATI_GART_FB) { drm_core_ioremapfree(&dev_priv->gart_info.mapping, dev); - dev_priv->gart_info.addr = 0; + dev_priv->gart_info.addr = NULL; } } /* only clear to the start of flags */ |