diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-01-12 17:00:27 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 08:03:15 -0800 |
commit | 566538a6cf5bec260324dc37b6820dacd8631452 (patch) | |
tree | 5f8e0a5821626ce340ed614498a1b8945716848b /Documentation/leds/leds-lp5523.txt | |
parent | e0e3d32bb40d28cf57a6a24e1e1d87ef03b913bd (diff) | |
download | blackbird-op-linux-566538a6cf5bec260324dc37b6820dacd8631452.tar.gz blackbird-op-linux-566538a6cf5bec260324dc37b6820dacd8631452.zip |
reiserfs: make sure va_end() is always called after va_start().
A call to va_start() must always be followed by a call to va_end() in the
same function. In fs/reiserfs/prints.c::print_block() this is not always
the case. If 'bh' is NULL we'll return without calling va_end().
One could add a call to va_end() before the 'return' statement, but it's
nicer to just move the call to va_start() after the test for 'bh' being
NULL.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Edward Shishkin <edward.shishkin@gmail.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/leds/leds-lp5523.txt')
0 files changed, 0 insertions, 0 deletions