]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: dvb-core: dvb_ringbuffer: Fix various coding style issues
authorDarshan Rathod <darshanrathod475@gmail.com>
Fri, 18 Jul 2025 13:08:01 +0000 (13:08 +0000)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 14 Oct 2025 13:07:36 +0000 (15:07 +0200)
commitef08d2ea869612747f5c22f5588e969b04f7ec19
treefc1f8590f15fa09681ebbabed149c294338cbb3d
parentb91e6aafe8d356086cc621bc03e35ba2299e4788
media: dvb-core: dvb_ringbuffer: Fix various coding style issues

The file dvb_ringbuffer.c has several minor coding style violations.
This patch resolves these issues to improve code readability and align
the code with the Linux kernel coding style.

The cleanups include:
- Adding spaces around assignment and comparison operators.
- Adding spaces after commas in function arguments.
- Placing statements on a new line for single-line 'if' blocks.
- Correcting minor indentation.

This is a purely stylistic change with no functional impact.

Signed-off-by: Darshan Rathod <darshanrathod475@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
[hverkuil: split rbuf->pread = rbuf->pwrite = 0 in two lines]
drivers/media/dvb-core/dvb_ringbuffer.c