Message ID | 3092a93b-9991-eca8-bc77-5c973355477e@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/sound/firewire/bebob/bebob_stream.c b/sound/firewire/bebob/bebob_stream.c index 211ff43207d6..a26863b82330 100644 --- a/sound/firewire/bebob/bebob_stream.c +++ b/sound/firewire/bebob/bebob_stream.c @@ -736,7 +736,7 @@ parse_stream_formation(u8 *buf, unsigned int len, return -ENOSYS; /* Avoid double count by different entries for the same rate. */ - memset(&formation[i], 0, sizeof(struct snd_bebob_stream_formation)); + memset(&formation[i], 0, sizeof(*formation)); for (e = 0; e < buf[4]; e++) { channels = buf[5 + e * 2];