[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1224332402.6324.0.camel@johannes.berg>
Date: Sat, 18 Oct 2008 14:20:02 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Arjan van de Ven <arjan@...radead.org>
Cc: David Miller <davem@...emloft.net>, akpm@...ux-foundation.org,
dan.j.williams@...el.com, tiwai@...e.de,
linux-ext4@...r.kernel.org, netdev@...r.kernel.org,
linux-ide@...r.kernel.org, bzolnier@...il.com,
marek.vasut@...il.com, dwmw2@...radead.org, mark.fasheh@...cle.com,
ralf@...ux-mips.org, mchehab@...radead.org,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...abs.org
Subject: Re: powerpc allmodconfig
On Thu, 2008-10-16 at 13:02 -0700, Arjan van de Ven wrote:
> On Thu, 16 Oct 2008 12:49:23 -0700 (PDT)
> David Miller <davem@...emloft.net> wrote:
> > #endif
> > #define __WARN() warn_on_slowpath(__FILE__, __LINE__)
> > #define __WARN_printf(arg...) warn_slowpath(__FILE__, __LINE__, arg)
> > #else
> > #define __WARN_printf(arg...) __WARN()
>
> the easiest way I suppose would be to do
>
> #define __WARN_printf(arg..) do { printk(arg); __WARN(); } while (0)
>
> any obvious problems with this ?
No, not really. You won't get it on kerneloops, but I guess that's not
an easily tractable problem.
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists