The patch titled Subject: fs/pstore/ram.c: fix up section annotations has been added to the -mm tree. Its filename is fs-pstore-ramc-fix-up-section-annotations.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Hannes Reinecke <hare@xxxxxxx> Subject: fs/pstore/ram.c: fix up section annotations The compiler complained about missing section annotations. Fix it. Signed-off-by: Hannes Reinecke <hare@xxxxxxx> Cc: Anton Vorontsov <cbouatmailru@xxxxxxxxx> Cc: Colin Cross <ccross@xxxxxxxxxxx> Acked-by: Kees Cook <keescook@xxxxxxxxxxxx> Cc: Tony Luck <tony.luck@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/pstore/ram.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff -puN fs/pstore/ram.c~fs-pstore-ramc-fix-up-section-annotations fs/pstore/ram.c --- a/fs/pstore/ram.c~fs-pstore-ramc-fix-up-section-annotations +++ a/fs/pstore/ram.c @@ -287,8 +287,9 @@ static void ramoops_free_przs(struct ram kfree(cxt->przs); } -static int ramoops_init_przs(struct device *dev, struct ramoops_context *cxt, - phys_addr_t *paddr, size_t dump_mem_sz) +static int __devinit ramoops_init_przs(struct device *dev, + struct ramoops_context *cxt, + phys_addr_t *paddr, size_t dump_mem_sz) { int err = -ENOMEM; int i; @@ -326,9 +327,10 @@ fail_prz: return err; } -static int ramoops_init_prz(struct device *dev, struct ramoops_context *cxt, - struct persistent_ram_zone **prz, - phys_addr_t *paddr, size_t sz, u32 sig) +static int __devinit ramoops_init_prz(struct device *dev, + struct ramoops_context *cxt, + struct persistent_ram_zone **prz, + phys_addr_t *paddr, size_t sz, u32 sig) { if (!sz) return 0; _ Patches currently in -mm which might be from hare@xxxxxxx are fs-pstore-ramc-fix-up-section-annotations.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html