projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2d44cc
)
i915: Fix format string warnings on x86-64.
author
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 17 Oct 2008 22:43:02 +0000
(15:43 -0700)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 23 Oct 2008 03:42:27 +0000
(13:42 +1000)
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_proc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_proc.c
b/drivers/gpu/drm/drm_proc.c
index d490db4c0de06a11ea3de7579681f3b76177c2a5..ae73b7f7249ad36059dde96219fe2fb33022b082 100644
(file)
--- a/
drivers/gpu/drm/drm_proc.c
+++ b/
drivers/gpu/drm/drm_proc.c
@@
-522,12
+522,12
@@
static int drm_gem_one_name_info(int id, void *ptr, void *data)
struct drm_gem_object *obj = ptr;
struct drm_gem_name_info_data *nid = data;
- DRM_INFO("name %d size %d\n", obj->name, obj->size);
+ DRM_INFO("name %d size %
z
d\n", obj->name, obj->size);
if (nid->eof)
return 0;
nid->len += sprintf(&nid->buf[nid->len],
- "%6d
%9d%8d%9
d\n",
+ "%6d
%8zd %7d %8
d\n",
obj->name, obj->size,
atomic_read(&obj->handlecount.refcount),
atomic_read(&obj->refcount.refcount));