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:
db78e27
)
drm/kms/radeon/agp: Fix warning, format ‘%d’ expects type ‘int’, but argument 4 has...
author
John Kacur
<jkacur@redhat.com>
Sun, 31 Jan 2010 19:38:02 +0000
(20:38 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 1 Feb 2010 01:19:08 +0000
(11:19 +1000)
- Fix warning by using %zu instead of %d for size_t
- Fix spelling mistake, "to" should be "too".
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_agp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_agp.c
b/drivers/gpu/drm/radeon/radeon_agp.c
index c9ad7f5cc1acc17e00323e2a2833df726a7e80e8..f58c5f462438dc0a0385076ca676ab6532884409 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_agp.c
+++ b/
drivers/gpu/drm/radeon/radeon_agp.c
@@
-134,7
+134,7
@@
int radeon_agp_init(struct radeon_device *rdev)
int ret;
if (rdev->ddev->agp->agp_info.aper_size < 32) {
- dev_warn(rdev->dev, "AGP aperture to
small (%d
M) "
+ dev_warn(rdev->dev, "AGP aperture to
o small (%zu
M) "
"need at least 32M, disabling AGP\n",
rdev->ddev->agp->agp_info.aper_size);
return -EINVAL;