mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
To: list linux-kernel <linux-kernel@vger.kernel.org>
Subject: 2.4.19-pre7-ac3: opl3sa2 compile error
Date: Tue, 30 Apr 2002 23:04:00 +1000	[thread overview]
Message-ID: <3CCE9640.489FC05D@eyal.emu.id.au> (raw)

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

gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre-ac/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4  -DMODULE -DMODVERSIONS -include
/data2/usr/local/src/linux-2.4-pre-ac/include/linux/modversions.h 
-nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
-DKBUILD_BASENAME=opl3sa2  -c -o opl3sa2.o opl3sa2.c
opl3sa2.c: In function `probe_opl3sa2':
opl3sa2.c:721: structure has no member named `iobase'
opl3sa2.c: In function `opl3sa2_pm_callback':
opl3sa2.c:982: warning: cast from pointer to integer of different size
make[2]: *** [opl3sa2.o] Error 1
make[2]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre-ac/drivers/sound'

I think it should say 'io_base'.

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>

[-- Attachment #2: 2.4.19-pre7-ac3-opl3sa2.patch --]
[-- Type: text/plain, Size: 372 bytes --]

*** linux/drivers/sound/opl3sa2.c.orig	Tue Apr 30 23:01:10 2002
--- linux/drivers/sound/opl3sa2.c	Tue Apr 30 23:01:22 2002
***************
*** 718,724 ****
  	}
  
  out_region:
! 	release_region(hw_config->iobase, 2);
  out_nodev:
  	return -ENODEV;
  }
--- 718,724 ----
  	}
  
  out_region:
! 	release_region(hw_config->io_base, 2);
  out_nodev:
  	return -ENODEV;
  }

                 reply	other threads:[~2002-04-30 13:04 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=3CCE9640.489FC05D@eyal.emu.id.au \
    --to=eyal@eyal.emu.id.au \
    --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

all inboxes | Powered by JetHome®