[ALSA] Fix misuse of __list_add() in seq_ports.c
authorTakashi Iwai <tiwai@suse.de>
Tue, 27 Jun 2006 11:07:04 +0000 (13:07 +0200)
committerJaroslav Kysela <perex@suse.cz>
Wed, 28 Jun 2006 17:31:00 +0000 (19:31 +0200)
seq_ports.c::snd_seq_delete_all_ports() uses __list_add() to replace the
whole list entries.  This results in BUG() with recent FC5 kernel due to
a sanity check in __list_add().
The patch fixes this misue of __list_add() by using standard macros
instead (although a bit more code is needed).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

No differences found