[PATCH] sparse_error() should not silence info() after sparse_error()s
commit1ffcd2151b0e30e64105674c1b6cb2dff1e2911c
authorJosh Triplett <josht@us.ibm.com>
Wed, 30 Aug 2006 00:41:56 +0000 (29 17:41 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 30 Aug 2006 02:09:31 +0000 (29 19:09 -0700)
tree8afe4ad63b60d7d74bf9e2bb1594c8f53f5f26d6
parenta0db384dbb4bbb605ccef2c4ed06e0850e75907b
[PATCH] sparse_error() should not silence info() after sparse_error()s

sparse_error() sets max_warnings = 0 to silence subsequent sparse_warning()s
or info()s; however, this also silences the info() after that sparse_error()
and subsequent sparse_errors() which still get shown.  bad_expr_type runs into
this problem: it reports an error with sparse_error() and then provides
further information with info(), which the user never sees.  Make info()
continue to print as long as the immediately preceeding warning or error does.

Signed-off-by: Josh Triplett <josh@freedesktop.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
lib.c