Re: [patch 3/3] Example use of WARN()

From: Andrew Morton
Date: Wed May 14 2008 - 00:37:03 EST


On Tue, 6 May 2008 23:21:56 -0700 Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:

> From: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
> Subject: Example use of WARN()
>
> now that WARN() exists, we can fold some of the printk's into it

Wanna take a look at mips allnoconfig, please?

lib/kobject.c: In function `kobject_add_internal':
lib/kobject.c:218: error: implicit declaration of function `WARN'

# CONFIG_BUG is not set

--
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/