projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i2o: Use pci_bus_alloc_resource(), not allocate_resource() directly
[linux-block.git]
/
kernel
/
ksysfs.c
diff --git
a/kernel/ksysfs.c
b/kernel/ksysfs.c
index 9659d38e008f7f4e35ed4fcfb9a866f61f00c72f..d945a949760f0ec4a9fd09313e30fb5f651bc39a 100644
(file)
--- a/
kernel/ksysfs.c
+++ b/
kernel/ksysfs.c
@@
-126,7
+126,7
@@
static ssize_t vmcoreinfo_show(struct kobject *kobj,
{
return sprintf(buf, "%lx %x\n",
paddr_vmcoreinfo_note(),
- (unsigned int)
vmcoreinfo_max_size
);
+ (unsigned int)
sizeof(vmcoreinfo_note)
);
}
KERNEL_ATTR_RO(vmcoreinfo);