From: Alessandro Suardi <alessandro.suardi@oracle.com>
To: linux-kernel@vger.kernel.org
Subject: [2.5.38] floppy.c doesn't compile
Date: Sun, 22 Sep 2002 12:05:50 +0200 [thread overview]
Message-ID: <3D8D95FE.1090700@oracle.com> (raw)
make[2]: Entering directory `/usr/local/src/linux-2.5.38/drivers/block'
gcc -Wp,-MD,./.floppy.o.d -D__KERNEL__
-I/usr/local/src/linux-2.5.38/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686
-I/usr/local/src/linux-2.5.38/arch/i386/mach-generic -nostdinc
-iwithprefix include -DMODULE -DKBUILD_BASENAME=floppy -c -o
floppy.o floppy.c
floppy.c: In function `cleanup_module':
floppy.c:4565: `drive' undeclared (first use in this function)
floppy.c:4565: (Each undeclared identifier is reported only once
floppy.c:4565: for each function it appears in.)
floppy.c:4559: warning: unused variable `i'
floppy.c:4573: warning: statement with no effect
make[2]: *** [floppy.o] Error 1
make[2]: Leaving directory `/usr/local/src/linux-2.5.38/drivers/block'
make[1]: *** [block] Error 2
make[1]: Leaving directory `/usr/local/src/linux-2.5.38/drivers'
make: *** [drivers] Error 2
It is quite obvious that 'i' should be replaced with 'drive'
at line 4559 (this makes it build) - however the "statement
with no effect" stays. It's late, i have to catch a plane
back to Italy in a few hours so I can't debug further...
--alessandro
"everything dies, baby that's a fact
but maybe everything that dies someday comes back"
(Bruce Springsteen, "Atlantic City")
reply other threads:[~2002-09-22 10:03 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=3D8D95FE.1090700@oracle.com \
--to=alessandro.suardi@oracle.com \
--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