Re: [PATCH 1/2] RAID: Remove leading TAB on printk messages
From: Nick Andrew
Date: Sat Apr 12 2008 - 12:24:50 EST
On Fri, Apr 11, 2008 at 06:06:37PM +1000, Nick Andrew wrote:
> + printk(KERN_ALERT "raid1: Disk failure on %s, disabling device.\n"
> + "raid1: Operation continuing on %d devices.\n",
Note: It wasn't known at the time, but the use of a multi-line string
in printk will cause one line to be emitted at KERN_ALERT level, and
the subsequent lines at default_message_loglevel, which is usually
something different.
My patch just posted in msg <20080412161733.24882.30930.stgit@xxxxxxxxxxxxxxxxxxxxx>
resolves this problem.
Nick.
--
PGP Key ID = 0x418487E7 http://www.nick-andrew.net/
PGP Key fingerprint = B3ED 6894 8E49 1770 C24A 67E3 6266 6EB9 4184 87E7
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/