From: Adrian Bunk <bunk@fs.tum.de>
To: Andrew Morton <akpm@digeo.com>,
Linus Torvalds <torvalds@transmeta.com>,
Christoph Hellwig <hch@sgi.com>
Cc: linux-kernel@vger.kernel.org
Subject: [patch] 2.5.64-mm8: miropcm20-rds.c doesn't compile
Date: Sun, 16 Mar 2003 14:43:53 +0100 [thread overview]
Message-ID: <20030316134353.GM24791@fs.tum.de> (raw)
In-Reply-To: <20030316024239.484f8bda.akpm@digeo.com>
On Sun, Mar 16, 2003 at 02:42:39AM -0800, Andrew Morton wrote:
>...
> All 124 patches:
>
> linus.patch
> Latest from Linus
>...
Another compile error that seems to come from Linus' tree:
<-- snip -->
...
gcc -Wp,-MD,drivers/media/radio/.miropcm20-rds.o.d -D__KERNEL__
-Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=k6 -Iinclude/asm-i386/mach-default -g -nostdinc -iwithprefix include -DKBUILD_BASENAME=miropcm20_rds
-DKBUILD_MODNAME=miropcm20_rds -c -o drivers/media/radio/miropcm20-rds.o
drivers/media/radio/miropcm20-rds.c
drivers/media/radio/miropcm20-rds.c:117: request for member `fops' in something not a structure or union
drivers/media/radio/miropcm20-rds.c:117: initializer element is not constant
drivers/media/radio/miropcm20-rds.c:117: (near initialization for `rds_miscdev.name')
drivers/media/radio/miropcm20-rds.c: In function `miropcm20_rds_init':
drivers/media/radio/miropcm20-rds.c:133: parse error before `return'
drivers/media/radio/miropcm20-rds.c: In function `miropcm20_rds_cleanup':
drivers/media/radio/miropcm20-rds.c:140: parse error before `}'
drivers/media/radio/miropcm20-rds.c:145: parse error at end of input
drivers/media/radio/miropcm20-rds.c:121: warning: `miropcm20_rds_init' defined but not used
make[3]: *** [drivers/media/radio/miropcm20-rds.o] Error 1
<-- snip -->
It would be nice if everyone would try to compile the patched files
before submitting patches...
Below are the trivial fixes:
--- linux-2.5.64-mm8/drivers/media/radio/miropcm20-rds.c.old 2003-03-16 14:34:17.000000000 +0100
+++ linux-2.5.64-mm8/drivers/media/radio/miropcm20-rds.c 2003-03-16 14:35:05.000000000 +0100
@@ -113,7 +113,7 @@
static struct miscdevice rds_miscdev = {
.minor = MISC_DYNAMIC_MINOR,
- .name = "radiotext"
+ .name = "radiotext",
.fops = &rds_fops,
};
@@ -128,7 +128,7 @@
error = devfs_mk_symlink(NULL, "v4l/rds/radiotext", 0,
"../misc/radiotext", NULL, NULL);
if (error)
- misc_deregister(&rds_miscdev)
+ misc_deregister(&rds_miscdev);
return error;
}
@@ -136,7 +136,7 @@
static void __exit miropcm20_rds_cleanup(void)
{
devfs_remove("v4l/rds/radiotext");
- misc_deregister(&rds_miscdev)
+ misc_deregister(&rds_miscdev);
}
module_init(miropcm20_rds_init);
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2003-03-16 13:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-16 10:42 2.5.64-mm8 Andrew Morton
2003-03-16 11:45 ` [patch] 2.5.64-mm8: fs/affs/dir.c doesn't compile Adrian Bunk
2003-03-16 12:21 ` 2.5.64-mm8 Roman Zippel
2003-03-16 13:02 ` 2.5.64-mm8: drivers/atm/idt77252.c doesn't compile Adrian Bunk
2003-03-16 15:44 ` Adrian Bunk
2003-03-17 15:43 ` [Linux-ATM-General] " chas williams
2003-03-18 20:49 ` Adrian Bunk
2003-03-20 8:44 ` David S. Miller
2003-03-16 18:00 ` Adrian Bunk
2003-03-16 13:43 ` Adrian Bunk [this message]
2003-03-16 13:49 ` 2.5.64-mm8 Mike Galbraith
2003-03-16 17:12 ` 2.5.64-mm8 Helge Hafting
2003-03-16 19:10 ` 2.5.64-mm8: link error with CONFIG_NUMA and !CONFIG_SMP Adrian Bunk
2003-03-16 19:32 ` Martin J. Bligh
2003-03-16 19:44 ` Martin J. Bligh
2003-03-16 19:58 ` Adrian Bunk
2003-03-16 19:20 ` 2.5.64-mm8 Josh McKinney
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=20030316134353.GM24791@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=akpm@digeo.com \
--cc=hch@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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®