Messages in this thread Patch in this message | | | Subject | Re: [PATCH] Driver Core patches for 2.6.9 | Date | Tue, 19 Oct 2004 09:36:15 -0700 | From | Greg KH <> |
| |
ChangeSet 1.1867.3.3, 2004/09/14 11:12:38-07:00, akpm@osdl.org
[PATCH] ksysfs warning fix
kernel/ksysfs.c: In function `hotplug_seqnum_show': kernel/ksysfs.c:28: warning: long long unsigned int format, u64 arg (arg 3)
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
kernel/ksysfs.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
diff -Nru a/kernel/ksysfs.c b/kernel/ksysfs.c --- a/kernel/ksysfs.c 2004-10-19 09:22:50 -07:00 +++ b/kernel/ksysfs.c 2004-10-19 09:22:50 -07:00 @@ -25,7 +25,7 @@ #ifdef CONFIG_HOTPLUG static ssize_t hotplug_seqnum_show(struct subsystem *subsys, char *page) { - return sprintf(page, "%llu\n", hotplug_seqnum); + return sprintf(page, "%llu\n", (unsigned long long)hotplug_seqnum); } KERNEL_ATTR_RO(hotplug_seqnum); #endif - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |