lkml.org 
[lkml]   [2011]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/7] Add assertion checking macros
Date
Jiri Slaby <jirislaby@gmail.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


\
 
 \ /
  Last update: 2011-10-12 22:39    [from the cache]
©2003-2011 Jasper Spaans