summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_ttm.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-10-30 23:08:30 +0200
committerDave Airlie <airlied@redhat.com>2010-11-09 04:37:15 +0100
commitfce7d61be01ad7606056608be08fef15b70eeb84 (patch)
tree362887ff2bd2b0e034b882345886cbdbedfa4e5c /drivers/gpu/drm/radeon/radeon_ttm.c
parentdrivers/gpu/drm/vmwgfx: Fix k.alloc switched arguments (diff)
downloadlinux-fce7d61be01ad7606056608be08fef15b70eeb84.tar.xz
linux-fce7d61be01ad7606056608be08fef15b70eeb84.zip
drivers/gpu/drm: Update WARN uses
Coalesce long formats. Align arguments. Add missing newlines. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_ttm.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_ttm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c
index fe95bb35317e..01c2c736a1da 100644
--- a/drivers/gpu/drm/radeon/radeon_ttm.c
+++ b/drivers/gpu/drm/radeon/radeon_ttm.c
@@ -689,7 +689,8 @@ static int radeon_ttm_backend_bind(struct ttm_backend *backend,
gtt = container_of(backend, struct radeon_ttm_backend, backend);
gtt->offset = bo_mem->start << PAGE_SHIFT;
if (!gtt->num_pages) {
- WARN(1, "nothing to bind %lu pages for mreg %p back %p!\n", gtt->num_pages, bo_mem, backend);
+ WARN(1, "nothing to bind %lu pages for mreg %p back %p!\n",
+ gtt->num_pages, bo_mem, backend);
}
r = radeon_gart_bind(gtt->rdev, gtt->offset,
gtt->num_pages, gtt->pages);