On Tue, 2013-10-15 at 19:48 +0200, Geert Uytterhoeven wrote: > Print a list of pages to be copied if debugging is enabled. > Consecutive entries are merged to reduce screen clutter. [] > diff --git a/kernel/kexec.c b/kernel/kexec.c [] > +static void kimage_print_block(const struct kimage_block *block) > +{ > + pr_info("Copy from 0x%lx-0x%lx to 0x%lx-0x%lx (0x%lx bytes)\n", > + block->src, block->src + block->len - 1, block->dst, > + block->dst + block->len - 1, block->len); > +}
Perhaps pr_debug and this maybe nicer to read like: pr_debug("kimage: Copy from 0x%lx-0x%lx to 0x%lx-0x%lx (0x%lx bytes)\n", block->src, block->src + block->len - 1, block->dst, block->dst + block->len - 1, block->len); Using a "kimage: " prefix could help grep too. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/