Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2 -1
+2 -1
drivers/dio/dio-sysfs.c
··· 58 58 struct dio_dev *d = to_dio_dev(dev); 59 59 60 60 return sprintf(buf, "0x%08lx 0x%08lx 0x%08lx\n", 61 - dio_resource_start(d), dio_resource_end(d), 61 + (unsigned long)dio_resource_start(d), 62 + (unsigned long)dio_resource_end(d), 62 63 dio_resource_flags(d)); 63 64 } 64 65 static DEVICE_ATTR(resource, S_IRUGO, dio_show_resource, NULL);