diff options
author | John Kacur <jkacur@redhat.com> | 2010-01-31 14:38:02 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-01-31 20:19:08 -0500 |
commit | cdb6e375c3c84558ed2c13c5461b22e8f7b7980e (patch) | |
tree | 28474a8fd0bff4ea869aef387ddf2c680df54aec | |
parent | db78e27de7e29a6db6be7caf607cf803d84094aa (diff) |
drm/kms/radeon/agp: Fix warning, format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’
- 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>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_agp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_agp.c b/drivers/gpu/drm/radeon/radeon_agp.c index c9ad7f5cc1ac..f58c5f462438 100644 --- 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) | |||
134 | int ret; | 134 | int ret; |
135 | 135 | ||
136 | if (rdev->ddev->agp->agp_info.aper_size < 32) { | 136 | if (rdev->ddev->agp->agp_info.aper_size < 32) { |
137 | dev_warn(rdev->dev, "AGP aperture to small (%dM) " | 137 | dev_warn(rdev->dev, "AGP aperture too small (%zuM) " |
138 | "need at least 32M, disabling AGP\n", | 138 | "need at least 32M, disabling AGP\n", |
139 | rdev->ddev->agp->agp_info.aper_size); | 139 | rdev->ddev->agp->agp_info.aper_size); |
140 | return -EINVAL; | 140 | return -EINVAL; |