The patch titled Subject: mm-proc-pid-smaps-factor-out-common-stats-printing-fix has been added to the -mm tree. Its filename is mm-proc-pid-smaps-factor-out-common-stats-printing-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-proc-pid-smaps-factor-out-common-stats-printing-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-proc-pid-smaps-factor-out-common-stats-printing-fix.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/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Vlastimil Babka <vbabka@xxxxxxx> Subject: mm-proc-pid-smaps-factor-out-common-stats-printing-fix Add const, per Alexey. Link: http://lkml.kernel.org/r/b45f319f-cd04-337b-37f8-77f99786aa8a@xxxxxxx Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx> Cc: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: Daniel Colascione <dancol@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- diff -puN fs/proc/task_mmu.c~mm-proc-pid-smaps-factor-out-common-stats-printing-fix fs/proc/task_mmu.c --- a/fs/proc/task_mmu.c~mm-proc-pid-smaps-factor-out-common-stats-printing-fix +++ a/fs/proc/task_mmu.c @@ -749,7 +749,7 @@ static void smap_gather_stats(struct vm_ seq_put_decimal_ull_width(m, str, (val) >> 10, 8) /* Show the contents common for smaps and smaps_rollup */ -static void __show_smap(struct seq_file *m, struct mem_size_stats *mss) +static void __show_smap(struct seq_file *m, const struct mem_size_stats *mss) { SEQ_PUT_DEC("Rss: ", mss->resident); SEQ_PUT_DEC(" kB\nPss: ", mss->pss >> PSS_SHIFT); _ Patches currently in -mm which might be from vbabka@xxxxxxx are mm-page_alloc-actually-ignore-mempolicies-for-high-priority-allocations.patch mm-proc-pid-maps-remove-is_pid-and-related-wrappers.patch mm-proc-pid-smaps-factor-out-mem-stats-gathering.patch mm-proc-pid-smaps-factor-out-common-stats-printing.patch mm-proc-pid-smaps-factor-out-common-stats-printing-fix.patch mm-proc-pid-smaps_rollup-convert-to-single-value-seq_file.patch mm-proc-pid-smaps_rollup-convert-to-single-value-seq_file-fix.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