Commit 5f2f97f
Fix full condition check
Use kfifo_is_full() to correctly detect when the FIFO is full
before dropping the oldest element.
Co-authored-by: Po-Ying Chiu <charlie910417@gmail.com>1 parent 5925766 commit 5f2f97f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments