[PATCH] Couple of sparse warning fixes in drivers/gpu/drm/radeon

2010-08-29 Thread Dr. David Alan Gilbert
Hi, This patch fixes a few warnings found with sparse; it should have no functional change. The change in radeon_cs.c just removes a variable that was being assigned but never used, along the way causing a warning. The change in radeon_kms.c adds a couple of __user qualifiers that cleans up so

[PATCH] Couple of sparse warning fixes in drivers/gpu/drm/radeon

2010-08-29 Thread Dr. David Alan Gilbert
Hi, This patch fixes a few warnings found with sparse; it should have no functional change. The change in radeon_cs.c just removes a variable that was being assigned but never used, along the way causing a warning. The change in radeon_kms.c adds a couple of __user qualifiers that cleans up so