aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDarshan Rathod <darshanrathod475@gmail.com>2025-07-18 13:29:27 +0000
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-10-14 15:07:36 +0200
commit90d0f046ab60078c6ee51de70dbe68cae4130c71 (patch)
tree5853a6139501cf45459e47d328c67fd95351ea73 /scripts/Makefile.thinlto
parentmedia: dvb-core: dvb_ringbuffer: Fix various coding style issues (diff)
media: dvb-core: dvb_demux: Fix assignments in if conditions
The code in dvb_demux.c has multiple instances where a variable is assigned a value inside the conditional part of an 'if' statement. This practice is prohibited by the Linux kernel coding style to avoid potential bugs arising from accidental assignments (e.g., '=' instead of '=='). This patch refactors these instances by moving the assignment out of the 'if' statement and onto the preceding line. This makes the code clearer, safer, and compliant with checkpatch.pl. Additionally, a minor whitespace issue in a function signature is also corrected. 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>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions