diff options
| author | 2018-09-23 12:11:33 +0000 | |
|---|---|---|
| committer | 2019-04-02 18:24:06 -0400 | |
| commit | 40ed29b373381532ef222e509c5aa69a1d8561ea (patch) | |
| tree | a7bca07a96cc7da1f43e9c332a2f3ac860668fda /include | |
| parent | Linux 5.1-rc3 (diff) | |
ring-buffer: Fix ring buffer size in rb_write_something()
'cnt' should be used to calculate ring buffer size rather than data->cnt
Link: http://lkml.kernel.org/r/1537704693-184237-1-git-send-email-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
