Re: [PATCH] ALSA 1.0.6

From: Olaf Hering
Date: Sat Aug 21 2004 - 08:27:23 EST


On Mon, Aug 16, Jaroslav Kysela wrote:

> Linus, please do a
>
> bk pull http://linux-sound.bkbits.net/linux-sound
>
> The GNU patch is available at:
>
> ftp://ftp.alsa-project.org/pub/kernel-patches/alsa-bk-2004-08-15.patch.gz
>

> use ARRAY_SIZE() instead of sizeof() computations

This update leads to an unresolved symbol.


--- ./sound/ppc/awacs.c.kaputt 2004-08-21 14:08:37.897062000 +0200
+++ ./sound/ppc/awacs.c 2004-08-21 14:47:32.989074632 +0200
@@ -829,10 +829,10 @@ snd_pmac_awacs_init(pmac_t *chip)
snd_pmac_awacs_mixers)) < 0)
return err;
if (chip->model == PMAC_SCREAMER)
- err = build_mixers(chip, num_controls(snd_pmac_screamer_mixers2),
+ err = build_mixers(chip, ARRAY_SIZE(snd_pmac_screamer_mixers2),
snd_pmac_screamer_mixers2);
else
- err = build_mixers(chip, num_controls(snd_pmac_awacs_mixers2),
+ err = build_mixers(chip, ARRAY_SIZE(snd_pmac_awacs_mixers2),
snd_pmac_awacs_mixers2);
if (err < 0)
return err;

--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÃRNBERG
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/