From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0001745]: too few arguments to function `snd_info_entry_ioctl_old' when compile in Kernel 2.4
Date: Sat, 14 Jan 2006 04:26:06 +0100 [thread overview]
Message-ID: <348a397f2ada45fa8fff72345b139e34@bugtrack.alsa-project.org> (raw)
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1745>
======================================================================
Reported By: Raymond
Assigned To: perex
======================================================================
Project: ALSA - driver
Issue ID: 1745
Category: 0_compilation problem_!!!
Reproducibility: always
Severity: block
Priority: normal
Status: assigned
Distribution: Fedora Core 1 (i386)
Kernel Version: 2.4.22-1.2199.nptl
======================================================================
Date Submitted: 01-14-2006 03:19 CET
Last Modified: 01-14-2006 04:26 CET
======================================================================
Summary: too few arguments to function
`snd_info_entry_ioctl_old' when compile in Kernel 2.4
Description:
gcc32 -D__KERNEL__ -DMODULE=1 -I/alsa/cvs/alsa-driver/include
-I/lib/modules/2.4.22-1.2199.nptl/build/include -O2
-mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -include
/lib/modules/2.4.22-1.2199.nptl/build/include/linux/modversions.h
-DKBUILD_BASENAME=info -c -o info.o info.c
info.c: In function `snd_info_entry_ioctl_old':
info.c:483: warning: passing arg 1 of `snd_info_entry_ioctl_old' from
incompatible pointer type
info.c:483: warning: passing arg 2 of `snd_info_entry_ioctl_old' makes
pointer from integer without a cast
info.c:483: too few arguments to function `snd_info_entry_ioctl_old'
info.c: At top level:
info.c:457: warning: `snd_info_entry_ioctl' defined but not used
make[1]: *** [info.o] Error 1
make[1]: Leaving directory `/alsa/cvs/alsa-driver/acore'
make: *** [compile] Error 1
======================================================================
----------------------------------------------------------------------
Raymond - 01-14-06 04:26
----------------------------------------------------------------------
RCS file: /cvsroot/alsa/alsa-driver/acore/info.patch,v
retrieving revision 1.6
diff -u -r1.6 info.patch
--- alsa-driver/acore/info.patch 9 Jan 2006 17:09:15 -0000 1.6
+++ alsa-driver/acore/info.patch 14 Jan 2006 03:13:44 -0000
@@ -60,7 +60,7 @@
+{
+ int err;
+ unlock_kernel();
-+ err = snd_info_entry_ioctl_old(file, cmd, arg);
++ err = snd_info_entry_ioctl(file, cmd, arg);
+ lock_kernel();
+ return err;
+}
Issue History
Date Modified Username Field Change
======================================================================
01-14-06 03:19 Raymond New Issue
01-14-06 03:19 Raymond Distribution => Fedora Core 1 (i386)
01-14-06 03:19 Raymond Kernel Version => 2.4.22-1.2199.nptl
01-14-06 04:26 Raymond Note Added: 0007652
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
next reply other threads:[~2006-01-14 3:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-14 3:26 bugtrack [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-01-17 13:07 [ALSA - driver 0001745]: too few arguments to function `snd_info_entry_ioctl_old' when compile in Kernel 2.4 bugtrack
2006-01-17 12:08 bugtrack
2006-01-16 17:10 bugtrack
2006-01-14 2:19 bugtrack
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=348a397f2ada45fa8fff72345b139e34@bugtrack.alsa-project.org \
--to=bugtrack@alsa-project.org \
--cc=alsa-devel@alsa-project.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