public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [patch 2/3] Add a WARN() macro; this is WARN_ON() + printk arguments
Date: Wed, 07 May 2008 09:31:30 +0200	[thread overview]
Message-ID: <48215AD2.7000200@gmail.com> (raw)
In-Reply-To: <20080506232113.7f066c26@infradead.org>

On 05/07/2008 08:21 AM, Arjan van de Ven wrote:
> Subject: Add a WARN() macro; this is WARN_ON() + printk arguments
[...]
> --- a/include/asm-generic/bug.h
> +++ b/include/asm-generic/bug.h
> @@ -34,9 +34,13 @@ struct bug_entry {
>  #ifndef __WARN
>  #ifndef __ASSEMBLY__
>  extern void warn_on_slowpath(const char *file, const int line);
> +extern void warn_slowpath(const char *file, const int line, const char *fmt, ...);

__attribute__((format(printf,3,4)))

  parent reply	other threads:[~2008-05-07  7:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07  6:20 [patch 1/3] Rename WARN() to WARNING() to clear the namespace Arjan van de Ven
2008-05-07  6:21 ` [patch 2/3] Add a WARN() macro; this is WARN_ON() + printk arguments Arjan van de Ven
2008-05-07  6:21   ` [patch 3/3] Example use of WARN() Arjan van de Ven
2008-05-14  4:36     ` Andrew Morton
2008-05-14  4:51       ` Arjan van de Ven
2008-05-15  3:43       ` Arjan van de Ven
2008-05-07  6:41   ` [patch 2/3] Add a WARN() macro; this is WARN_ON() + printk arguments Vegard Nossum
2008-05-07 13:37     ` Arjan van de Ven
2008-05-07  7:31   ` Jiri Slaby [this message]
2008-05-07 12:46 ` [patch 1/3] Rename WARN() to WARNING() to clear the namespace Johannes Weiner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48215AD2.7000200@gmail.com \
    --to=jirislaby@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox