mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
ring-buffer: fix ret in rb_add_time_stamp
The update of ret got mistakenly added to the if statement of rb_try_to_discard. The variable ret should be 1 on commit and zero otherwise. [ Impact: fix compiler warning and real bug ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
1f8a6a10fb
commit
f57a8a1911
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue