mirror of https://gitee.com/openkylin/linux.git
5061bb7065
Static analysis tools (cppcheck and PVS Studio) report an error
in loopback_snd_timer_period_elapsed() regarding dpcm_play pointer
dereference earlier than its null-check. And although this is a result
of a formal check, and the pointer correctness is also protected
by having a corresponding bit set in the "running" mask, re-ordering
of the lines can imake the code even formally correct and eliminate
those static analysis error reports.
Fixes:
|
||
---|---|---|
.. | ||
mpu401 | ||
opl3 | ||
opl4 | ||
pcsp | ||
vx | ||
Kconfig | ||
Makefile | ||
aloop.c | ||
dummy.c | ||
ml403-ac97cr.c | ||
mtpav.c | ||
mts64.c | ||
pcm-indirect2.c | ||
pcm-indirect2.h | ||
portman2x4.c | ||
serial-u16550.c | ||
virmidi.c |