mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
m68k: dio - Kill resource_size_t format warnings
warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
parent
89bde7b86e
commit
fae3306ac0
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ static ssize_t dio_show_resource(struct device *dev, struct device_attribute *at
|
||||||
struct dio_dev *d = to_dio_dev(dev);
|
struct dio_dev *d = to_dio_dev(dev);
|
||||||
|
|
||||||
return sprintf(buf, "0x%08lx 0x%08lx 0x%08lx\n",
|
return sprintf(buf, "0x%08lx 0x%08lx 0x%08lx\n",
|
||||||
dio_resource_start(d), dio_resource_end(d),
|
(unsigned long)dio_resource_start(d),
|
||||||
|
(unsigned long)dio_resource_end(d),
|
||||||
dio_resource_flags(d));
|
dio_resource_flags(d));
|
||||||
}
|
}
|
||||||
static DEVICE_ATTR(resource, S_IRUGO, dio_show_resource, NULL);
|
static DEVICE_ATTR(resource, S_IRUGO, dio_show_resource, NULL);
|
||||||
|
|
Loading…
Reference in a new issue