mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Meelis Roos <mroos@linux.ee>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Sound core broken on sparc64 (2.6.4+bk)
Date: Mon, 15 Mar 2004 19:10:20 +0100	[thread overview]
Message-ID: <s5hllm2gewj.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.GSO.4.44.0403151545330.16052-100000@math.ut.ee>

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

At Mon, 15 Mar 2004 15:46:51 +0200 (EET),
Meelis Roos wrote:
> 
> This is today's (20040315) BK snapshot. Sound core is broken on sparc64:
> 
> sound/core/memalloc.c: In function `snd_mem_proc_read':
> sound/core/memalloc.c:793: error: `sbus' undeclared (first use in this function)
> sound/core/memalloc.c:793: error: (Each undeclared identifier is reported only once
> sound/core/memalloc.c:793: error: for each function it appears in.)
> sound/core/memalloc.c:792: warning: unused variable `sdev'

the attached patch should fix.


--
Takashi Iwai <tiwai@suse.de>		ALSA Developer - www.alsa-project.org

[-- Attachment #2: Type: text/plain, Size: 383 bytes --]

--- linux/sound/core/memalloc.c	6 Mar 2004 16:46:57 -0000	1.28
+++ linux/sound/core/memalloc.c	15 Mar 2004 18:08:32 -0000
@@ -790,7 +790,7 @@
 		case SNDRV_DMA_TYPE_SBUS:
 			{
 				struct sbus_dev *sdev = (struct sbus_dev *)(mem->dev.dev);
-				len += sprintf(page + len, "SBUS [%x]", sbus->slot);
+				len += sprintf(page + len, "SBUS [%x]", sdev->slot);
 			}
 			break;
 #endif


  reply	other threads:[~2004-03-15 18:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-15 13:46 Meelis Roos
2004-03-15 18:10 ` Takashi Iwai [this message]
2004-03-16 13:28   ` Meelis Roos
2004-03-16 13:42     ` Takashi Iwai
2004-03-16 14:00       ` Meelis Roos

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=s5hllm2gewj.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mroos@linux.ee \
    /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

all inboxes | Powered by JetHome®