The patch titled Subject: mm: Remove unused parameter of pages_correctly_reserved() has been added to the -mm tree. Its filename is mm-remove-unused-parameter-of-pages_correctly_reserved.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: Tang Chen <tangchen@xxxxxxxxxxxxxx> Subject: mm: Remove unused parameter of pages_correctly_reserved() nr_pages is not used in pages_correctly_reserved(). So remove it. Signed-off-by: Tang Chen <tangchen@xxxxxxxxxxxxxx> Reviewed-by: Wang Shilong <wangsl-fnst@xxxxxxxxxxxxxx> Reviewed-by: Wen Congyang <wency@xxxxxxxxxxxxxx> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/base/memory.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff -puN drivers/base/memory.c~mm-remove-unused-parameter-of-pages_correctly_reserved drivers/base/memory.c --- a/drivers/base/memory.c~mm-remove-unused-parameter-of-pages_correctly_reserved +++ a/drivers/base/memory.c @@ -207,8 +207,7 @@ int memory_isolate_notify(unsigned long * The probe routines leave the pages reserved, just as the bootmem code does. * Make sure they're still that way. */ -static bool pages_correctly_reserved(unsigned long start_pfn, - unsigned long nr_pages) +static bool pages_correctly_reserved(unsigned long start_pfn) { int i, j; struct page *page; @@ -256,7 +255,7 @@ memory_block_action(unsigned long phys_i switch (action) { case MEM_ONLINE: - if (!pages_correctly_reserved(start_pfn, nr_pages)) + if (!pages_correctly_reserved(start_pfn)) return -EBUSY; ret = online_pages(start_pfn, nr_pages, online_type); _ Patches currently in -mm which might be from tangchen@xxxxxxxxxxxxxx are linux-next.patch arch-x86-mm-init_64c-fix-build-warning-when-config_memory_hotremove=n.patch resource-add-__adjust_resource-for-internal-use.patch resource-add-release_mem_region_adjustable.patch resource-add-release_mem_region_adjustable-fix.patch resource-add-release_mem_region_adjustable-fix-fix.patch resource-add-release_mem_region_adjustable-fix-fix-fix.patch mm-change-__remove_pages-to-call-release_mem_region_adjustable.patch mm-hotplug-avoid-compiling-memory-hotremove-functions-when-disabled.patch firmware-memmap-fix-firmware_map_entry-leak.patch mm-remove-unused-parameter-of-pages_correctly_reserved.patch mem-hotplug-put-kernel_physical_mapping_remove-declaration-in-config_memory_hotremove.patch memblock-fix-missing-comment-of-memblock_insert_region.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