ChangeSet 1.2181.25.52, 2005/03/24 12:00:05+01:00, [EMAIL PROTECTED]

        [ALSA] seq - fix local variable initialization
        
        ALSA sequencer
        This patch re-adds the initialization of callbacks and pcallbacks
        that was accidentally removed in the last revision.
        
        Signed-off-by: Clemens Ladisch <[EMAIL PROTECTED]>



 seq_system.c |    2 ++
 1 files changed, 2 insertions(+)


diff -Nru a/sound/core/seq/seq_system.c b/sound/core/seq/seq_system.c
--- a/sound/core/seq/seq_system.c       2005-03-30 16:21:24 -08:00
+++ b/sound/core/seq/seq_system.c       2005-03-30 16:21:24 -08:00
@@ -134,6 +134,8 @@
                return -ENOMEM;
        }
 
+       memset(&callbacks, 0, sizeof(callbacks));
+       memset(&pcallbacks, 0, sizeof(pcallbacks));
        pcallbacks.owner = THIS_MODULE;
        pcallbacks.event_input = event_input_timer;
 
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to