[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081023083547.GA32124@x200.localdomain>
Date: Thu, 23 Oct 2008 12:35:47 +0400
From: Alexey Dobriyan <adobriyan@...il.com>
To: Arjan van de Ven <arjan@...radead.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] procfs: use WARN() rather than printk+backtrace
On Tue, Oct 21, 2008 at 06:46:12AM -0700, Arjan van de Ven wrote:
> - printk(KERN_WARNING "proc_dir_entry '%s/%s' already registered\n",
> + WARN(1, KERN_WARNING "proc_dir_entry '%s/%s' already registered\n",
Applied to proc.git
As a side note, seeing WARN twice on this line is depressing, and people
use WARN(, KERN_ERR);
I mean, how hard is to get something conceptually simple as warning right?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists