Re: [PATCH 2/3] target: introduce and use pr_debugc()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2011-11-23 at 20:53 +0100, Sebastian Andrzej Siewior wrote:
> It turns out that printk(KERN_DEBUG (aka pr_debug() once enabled)
> enforces a new line. So the character printing code was printing only
> one character in each line which is most likely not intended. This patch
> introduces pr_debugc() which evalues to printk(KERN_CONT and uses it
> here.
> 
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
> ---
>  drivers/target/target_core_transport.c |   12 ++++++------
>  include/linux/printk.h                 |    5 +++++
>  2 files changed, 11 insertions(+), 6 deletions(-)
> 

Hi Sebastian,

Thanks for fixing this up in scsi_dump_inquiry() usage.  I've split this
up into two separate patches for adding pr_debugc() into printk.h and
changing in target-core, and will queue this via target-pending for v3.3
with akpm CC'ed.

Thanks!

--nab



--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux