Re: [PATCH 2/7] Add assertion checking macros
From: David Howells <dhowells@redhat.com>
Date: 2011-10-12 20:37:23
Also in:
lkml
From: David Howells <dhowells@redhat.com>
Date: 2011-10-12 20:37:23
Also in:
lkml
Jiri Slaby [off-list ref] 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