[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4874.1318451776@redhat.com>
Date: Wed, 12 Oct 2011 21:36:16 +0100
From: David Howells <dhowells@...hat.com>
To: Jiri Slaby <jirislaby@...il.com>
Cc: dhowells@...hat.com, linux-arch@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/7] Add assertion checking macros
Jiri Slaby <jirislaby@...il.com> wrote:
> Hmm, but why not have a single something-like-"ASSERT" doing the same as
> in userspace:
Because I want to print the values that were checked. Your suggestion merely
turns the unevaluated expression into a string and prints that. The values
are very useful to know in debugging the problem.
David
--
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