diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2007-05-01 22:33:04 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-05 02:59:08 +0200 |
commit | 318175766e7688ba52cdf771d37e98a1e4759f98 (patch) | |
tree | 69b6414023426eb7290af6041f130a6119fc0124 /drivers/zorro/zorro-sysfs.c | |
parent | SONIC interrupt handling (diff) | |
download | linux-318175766e7688ba52cdf771d37e98a1e4759f98.tar.xz linux-318175766e7688ba52cdf771d37e98a1e4759f98.zip |
Amiga Zorro bus: kill resource_size_t warnings
Kill resource_size_t warnings by casting resource_size_t to unsigned long when
formatting Zorro bus resources, as they are always 32-bit.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/zorro/zorro-sysfs.c')
-rw-r--r-- | drivers/zorro/zorro-sysfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/zorro/zorro-sysfs.c b/drivers/zorro/zorro-sysfs.c index 87c29d7b6c17..c3ba0ec334c4 100644 --- a/drivers/zorro/zorro-sysfs.c +++ b/drivers/zorro/zorro-sysfs.c @@ -42,7 +42,8 @@ static ssize_t zorro_show_resource(struct device *dev, struct device_attribute * struct zorro_dev *z = to_zorro_dev(dev); return sprintf(buf, "0x%08lx 0x%08lx 0x%08lx\n", - zorro_resource_start(z), zorro_resource_end(z), + (unsigned long)zorro_resource_start(z), + (unsigned long)zorro_resource_end(z), zorro_resource_flags(z)); } |