From: "Carlos Valdivia Yagüe" <valyag@dat.etsit.upm.es>
To: linux-kernel@vger.kernel.org
Subject: cs46xx compile failure in 2.4.21
Date: Sat, 14 Jun 2003 00:34:09 +0200 [thread overview]
Message-ID: <20030613223409.GA10618@dat.etsit.upm.es> (raw)
Hi,
cs46xx.c doesn't compile in 2.4.21 with gcc 3.3:
cs46xx.c:950: error: long, short, signed or unsigned used invalidly for `off'
cs46xx.c:951: error: long, short, signed or unsigned used invalidly for `val'
cs46xx.c: In function `cs_ac97_init':
This patch fixes compilation issue and works fine for my soundcard:
--- linux-2.4.21/drivers/sound/cs46xx.c.orig 2003-06-13 23:29:53.000000000 +0200
+++ linux-2.4.21/drivers/sound/cs46xx.c 2003-06-13 23:37:49.000000000 +0200
@@ -947,8 +947,8 @@
struct InitStruct
{
- u32 long off;
- u32 long val;
+ u32 off;
+ u32 val;
} InitArray[] = { {0x00000040, 0x3fc0000f},
{0x0000004c, 0x04800000},
Best regards.
--
Carlos Valdivia Yagüe <valyag@dat.etsit.upm.es>
reply other threads:[~2003-06-13 22:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030613223409.GA10618@dat.etsit.upm.es \
--to=valyag@dat.etsit.upm.es \
--cc=linux-kernel@vger.kernel.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