aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/ksysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/ksysfs.c b/kernel/ksysfs.c
index 2565e1b6dd7b..d0e5c48e18c7 100644
--- a/kernel/ksysfs.c
+++ b/kernel/ksysfs.c
@@ -65,8 +65,8 @@ KERNEL_ATTR_RO(kexec_crash_loaded);
65/* 65/*
66 * Make /sys/kernel/notes give the raw contents of our kernel .notes section. 66 * Make /sys/kernel/notes give the raw contents of our kernel .notes section.
67 */ 67 */
68extern const char __start_notes __attribute__((weak)); 68extern const void __start_notes __attribute__((weak));
69extern const char __stop_notes __attribute__((weak)); 69extern const void __stop_notes __attribute__((weak));
70#define notes_size (&__stop_notes - &__start_notes) 70#define notes_size (&__stop_notes - &__start_notes)
71 71
72static ssize_t notes_read(struct kobject *kobj, struct bin_attribute *bin_attr, 72static ssize_t notes_read(struct kobject *kobj, struct bin_attribute *bin_attr,