public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olh@suse.de>
To: Jaroslav Kysela <perex@suse.cz>
Cc: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ALSA 1.0.6
Date: Sat, 21 Aug 2004 15:26:13 +0200	[thread overview]
Message-ID: <20040821132613.GA12506@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0408161451280.1780@pnote.perex-int.cz>

 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

      reply	other threads:[~2004-08-21 13:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-16 12:54 [PATCH] ALSA 1.0.6 Jaroslav Kysela
2004-08-21 13:26 ` Olaf Hering [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040821132613.GA12506@suse.de \
    --to=olh@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox