Commit c73f0b6
ring-buffer: Fix bytes_dropped calculation issue
The calculation of bytes-dropped and bytes_dropped_nested is reversed.
Although it does not affect the final calculation of total_dropped,
it should still be modified.
Link: https://lore.kernel.org/[email protected]
Fixes: 6c43e55 ("ring-buffer: Add ring buffer startup selftest")
Signed-off-by: Feng Yang <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>1 parent d082ecb commit c73f0b6
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7411 | 7411 | | |
7412 | 7412 | | |
7413 | 7413 | | |
7414 | | - | |
7415 | | - | |
7416 | 7414 | | |
| 7415 | + | |
| 7416 | + | |
7417 | 7417 | | |
7418 | 7418 | | |
7419 | 7419 | | |
| |||
0 commit comments