Subject: [folded-merged] idr-print-a-stack-dump-after-ida_remove-warning-fix.patch removed from -mm tree To: akpm@xxxxxxxxxxxxxxxxxxxx,jdelvare@xxxxxxx,tiwai@xxxxxxx,tj@xxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 03 Jul 2013 14:42:59 -0700 The patch titled Subject: idr-print-a-stack-dump-after-ida_remove-warning-fix has been removed from the -mm tree. Its filename was idr-print-a-stack-dump-after-ida_remove-warning-fix.patch This patch was dropped because it was folded into idr-print-a-stack-dump-after-ida_remove-warning.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: idr-print-a-stack-dump-after-ida_remove-warning-fix convert the open-coded printk+dump_stack into WARN() Cc: Jean Delvare <jdelvare@xxxxxxx> Cc: Takashi Iwai <tiwai@xxxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/idr.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff -puN lib/idr.c~idr-print-a-stack-dump-after-ida_remove-warning-fix lib/idr.c --- a/lib/idr.c~idr-print-a-stack-dump-after-ida_remove-warning-fix +++ a/lib/idr.c @@ -524,9 +524,7 @@ EXPORT_SYMBOL(idr_alloc_cyclic); static void idr_remove_warning(int id) { - printk(KERN_WARNING - "idr_remove called for id=%d which is not allocated.\n", id); - dump_stack(); + WARN(1, "idr_remove called for id=%d which is not allocated.\n", id); } static void sub_remove(struct idr *idp, int shift, int id) @@ -1064,9 +1062,7 @@ void ida_remove(struct ida *ida, int id) return; err: - printk(KERN_WARNING - "ida_remove called for id=%d which is not allocated.\n", id); - dump_stack(); + WARN(1, "ida_remove called for id=%d which is not allocated.\n", id); } EXPORT_SYMBOL(ida_remove); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are origin.patch include-linux-smph-on_each_cpu-switch-back-to-a-macro.patch sound-soc-codecs-si476xc-dont-use-0bnnn.patch ocfs2-xattr-remove-useless-free-space-checking.patch ocfs2-rework-transaction-rollback-in-ocfs2_relink_block_group-fix.patch ocfs2-fix-readonly-issue-in-ocfs2_unlink.patch ocfs2-adjust-switch_case-syntax-at-o2net_state_change.patch clear_refs-sanitize-accepted-commands-declaration.patch mm-remove-compressed-copy-from-zram-in-memory.patch memory_hotplug-use-pgdat_resize_lock-in-__offline_pages.patch include-linux-mmh-add-page_aligned-helper.patch vmcore-allocate-buffer-for-elf-headers-on-page-size-alignment.patch vmalloc-introduce-remap_vmalloc_range_partial.patch vmcore-allocate-elf-note-segment-in-the-2nd-kernel-vmalloc-memory.patch vmcore-allow-user-process-to-remap-elf-note-segment-buffer.patch vmcore-support-mmap-on-proc-vmcore.patch mm-remove-lru-parameter-from-__lru_cache_add-and-lru_cache_add_lru.patch mm-tune-vm_committed_as-percpu_counter-batching-size.patch swap-discard-while-swapping-only-if-swap_flag_discard_pages.patch mm-use-a-dedicated-lock-to-protect-totalram_pages-and-zone-managed_pages.patch mm-correctly-update-zone-managed_pages.patch clean-up-scary-strncpydst-src-strlensrc-uses.patch dump_stack-serialize-the-output-from-dump_stack.patch checkpatch-warn-when-using-gccs-binary-constant-extension.patch rtc-add-nxp-pcf2127-support-i2c.patch ptrace-add-ability-to-get-set-signal-blocked-mask.patch dev-oldmem-remove-the-interface.patch idr-print-a-stack-dump-after-ida_remove-warning.patch documentation-accounting-getdelaysc-avoid-strncpy-in-accounting-tool-fix.patch drivers-w1-slaves-w1_ds2408c-add-magic-sequence-to-disable-p0-test-mode-fix.patch tools-testing-selftests-dont-assume-the-x-bit-is-set-on-scripts.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