21ac1f9934
if (...) BUG(); should be replaced with BUG_ON(...) when the test has no side-effects to allow a definition of BUG_ON that drops the code completely. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @ disable unlikely @ expression E,f; @@ ( if (<... f(...) ...>) { BUG(); } | - if (unlikely(E)) { BUG(); } + BUG_ON(E); ) @@ expression E,f; @@ ( if (<... f(...) ...>) { BUG(); } | - if (E) { BUG(); } + BUG_ON(E); ) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
||
---|---|---|
.. | ||
dmasound | ||
.gitignore | ||
ac97_codec.c | ||
ad1848.c | ||
ad1848.h | ||
ad1848_mixer.h | ||
aedsp16.c | ||
au1550_ac97.c | ||
audio.c | ||
bin2hex.c | ||
CHANGELOG | ||
coproc.h | ||
dev_table.c | ||
dev_table.h | ||
dmabuf.c | ||
hal2.c | ||
hal2.h | ||
hex2hex.c | ||
kahlua.c | ||
Kconfig | ||
Makefile | ||
midi_ctrl.h | ||
midi_synth.c | ||
midi_synth.h | ||
midibuf.c | ||
mpu401.c | ||
mpu401.h | ||
msnd.c | ||
msnd.h | ||
msnd_classic.c | ||
msnd_classic.h | ||
msnd_pinnacle.c | ||
msnd_pinnacle.h | ||
opl3.c | ||
opl3_hw.h | ||
os.h | ||
pas2.h | ||
pas2_card.c | ||
pas2_midi.c | ||
pas2_mixer.c | ||
pas2_pcm.c | ||
pss.c | ||
README.FIRST | ||
sb.h | ||
sb_audio.c | ||
sb_card.c | ||
sb_card.h | ||
sb_common.c | ||
sb_ess.c | ||
sb_ess.h | ||
sb_midi.c | ||
sb_mixer.c | ||
sb_mixer.h | ||
sequencer.c | ||
sh_dac_audio.c | ||
sound_calls.h | ||
sound_config.h | ||
sound_firmware.h | ||
sound_timer.c | ||
soundcard.c | ||
soundvers.h | ||
sscape.c | ||
swarm_cs4297a.c | ||
sys_timer.c | ||
trident.c | ||
trident.h | ||
trix.c | ||
tuning.h | ||
uart401.c | ||
uart6850.c | ||
ulaw.h | ||
v_midi.c | ||
v_midi.h | ||
vidc.c | ||
vidc.h | ||
vidc_fill.S | ||
vwsnd.c | ||
waveartist.c | ||
waveartist.h |
The modular sound driver patches were funded by Red Hat Software (www.redhat.com). The sound driver here is thus a modified version of Hannu's code. Please bear that in mind when considering the appropriate forums for bug reporting. Alan Cox