LWN.net Logo

[patch 0/17] Series to introduce WARN()... a WARN_ON() variant that takes printk arguments

From:  Arjan van de Ven <arjan@infradead.org>
To:  linux-kernel@vger.kernel.org
Subject:  [patch 0/17] Series to introduce WARN()... a WARN_ON() variant that takes printk arguments
Date:  Tue, 8 Jul 2008 09:38:00 -0700
Message-ID:  <20080708093800.274504ba@infradead.org>
Cc:  akpm@linux-foundation.org, mingo@elte.hu
Archive-link:  Article, Thread

Hi,

This patch series introduces WARN(), which is a WARN_ON() variant that
takes printk() like arguments. This was done after both akpm and I hit
several cases where this would have been useful; in addition, with
WARN(), we put the printk string inside the -----[ cut here ]-----
section, making it more likely that users (and tools like kerneloops)
pick up the message in addition to just the bare WARNING.

The first few patches have been in -mm for a long time; the later ones
are newer and introduce more users of WARN().


Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds