RE: 2.0.34 compilation

Russell Berry (russ@berrex.com)
Sat, 06 Jun 1998 14:44:45 -0400 (EDT)


This message is in MIME format
--_=XFMail.1.3.p0.Linux:980606144445:303=_
Content-Type: text/plain; charset=us-ascii

Yeah, I've seen this for a while now in the pre's, so here, have a patch if you
don't like the warning..

---russ

On 06-Jun-98 Rejean Turgeon wrote:
> Hi guys
>
> me again is it normal to see this when i do the 2.0.34 kernel compilation
>
> ide-cd.c: In function `ide_cdrom_ioctl':
> ide-cd.c:2417: warning: unused variable `toc'
>
> but it does'nt stop there it keeps compiling!
>
> Rejean Turgeon
> AllSpeeds Net
> allspeed@allspeeds.net
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu

Immortality -- a fate worse than death.
-- Edgar A. Shoaff

russ@berrex.com

--_=XFMail.1.3.p0.Linux:980606144445:303=_
Content-Disposition: attachment; filename="ide-cd_warn.diff"
Content-Transfer-Encoding: 7bit
Content-Description: ide-cd_warn.diff
Content-Type: text/plain;
charset=us-ascii; name=ide-cd_warn.diff; SizeOnDisk=365

--- linux/drivers/block/ide-cd.c.orig Sat Jun 6 14:28:59 1998
+++ linux/drivers/block/ide-cd.c Sat Jun 6 14:42:01 1998
@@ -2414,7 +2414,8 @@
case CDROMREADMODE2: {
struct cdrom_msf msf;
int blocksize, format, stat, lba;
- struct atapi_toc *toc;
+ /* I'M NOT USED IN THIS CASE
+ struct atapi_toc *toc; */
char *buf;

if (cmd == CDROMREADMODE1) {

--_=XFMail.1.3.p0.Linux:980606144445:303=_--
End of MIME message

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu