The patch titled kernel/power/disk.c: make code static has been added to the -mm tree. Its filename is kernel-power-diskc-make-code-static.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: kernel/power/disk.c: make code static From: Adrian Bunk <bunk@xxxxxxxxxx> resume_file[] and create_image() can become static. Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx> Acked-by: Pavel Machek <pavel@xxxxxx> Acked-by: "Rafael J. Wysocki" <rjw@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/power/disk.c | 4 ++-- kernel/power/swap.c | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff -puN kernel/power/disk.c~kernel-power-diskc-make-code-static kernel/power/disk.c --- a/kernel/power/disk.c~kernel-power-diskc-make-code-static +++ a/kernel/power/disk.c @@ -26,7 +26,7 @@ static int noresume = 0; -char resume_file[256] = CONFIG_PM_STD_PARTITION; +static char resume_file[256] = CONFIG_PM_STD_PARTITION; dev_t swsusp_resume_device; sector_t swsusp_resume_block; @@ -145,7 +145,7 @@ static void platform_restore_cleanup(int * reappears in this routine after a restore. */ -int create_image(int platform_mode) +static int create_image(int platform_mode) { int error; diff -puN kernel/power/swap.c~kernel-power-diskc-make-code-static kernel/power/swap.c --- a/kernel/power/swap.c~kernel-power-diskc-make-code-static +++ a/kernel/power/swap.c @@ -28,8 +28,6 @@ #include "power.h" -extern char resume_file[]; - #define SWSUSP_SIG "S1SUSPEND" struct swsusp_header { _ Patches currently in -mm which might be from bunk@xxxxxxxxxx are origin.patch git-dvb.patch git-hwmon.patch git-input.patch git-nfs-make-nfs_wb_page_priority-static.patch git-ocfs2.patch git-sh64.patch scsi-advansysc-make-3-functions-static.patch git-block.patch sunrpc-xprtrdma-transportc-fix-use-after-free.patch fix-mm-utilckrealloc.patch fuse_file_alloc-fix-null-dereferences.patch pidns-place-under-config_experimental.patch pidns-place-under-config_experimental-checkpatch-fixes.patch kernel-power-diskc-make-code-static.patch kill-udffs_dateversion.patch make-ipc-utilcsysvipc_find_ipc-static.patch fs-ecryptfs-possible-cleanups.patch make-jbd-journalc__journal_abort_hard-static.patch kernel-cgroupc-remove-dead-code.patch kernel-cgroupc-make-2-functions-static.patch memory-controller-add-per-container-lru-and-reclaim-v7.patch memory-controller-add-switch-to-control-what-type-of-pages-to-limit-v7.patch reiser4.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