drm: Create and use drm_err
authorJoe Perches <joe@perches.com>
Mon, 18 Apr 2011 03:35:51 +0000 (20:35 -0700)
committerDave Airlie <airlied@redhat.com>
Thu, 28 Apr 2011 04:53:02 +0000 (14:53 +1000)
commit5ad3d8831f0c97257460c11ddcc1cc0466c762d4
tree8ab86a7b1c0ebfcfdbf24270ac1f54ed1bed8a6e
parentcb49ba0bb18632faa7c5ce1dcb095eaa70821c1d
drm: Create and use drm_err

Reduce drm text size ~1% by using drm_err and
printf extension %pV to emit error messages.

Remove unused macro DRM_MEM_ERROR.

$ size drivers/gpu/drm/built-in.o*
   text    data     bss     dec     hex filename
 361159    9663     256  371078   5a986 drivers/gpu/drm/built-in.o.new
 365416    9663     256  375335   5ba27 drivers/gpu/drm/built-in.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_stub.c
include/drm/drmP.h