2.3.3: compile problem in st.c

Steffen Zahn (zahn@berlin.snafu.de)
Mon, 17 May 1999 20:34:37 +0200


Hello,

I found the appended following compile problem in Linux 2.3.3.

Steffen

st.c: In function `st_attach':
st.c:3383: incompatible types in assignment
make[2]: *** [st.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_mod_drivers] Error 2

--- linux/drivers/scsi/st.c~ Mon May 17 19:33:11 1999
+++ linux/drivers/scsi/st.c Mon May 17 20:30:04 1999
@@ -3380,7 +3380,7 @@

tpnt->devt = MKDEV(SCSI_TAPE_MAJOR, i);
tpnt->dirty = 0;
- tpnt->waiting = NULL;
+ init_waitqueue_head(&tpnt->waiting);
tpnt->in_use = 0;
tpnt->drv_buffer = 1; /* Try buffering if no mode sense */
tpnt->restr_dma = (SDp->host)->unchecked_isa_dma;

-- 
home email:  user@domain where domain=berlin.snafu.de, user=zahn
Use of my address for unsolicited commercial advertising is forbidden.
      2^3021377 - 1     |     "Where do you want to crash today?"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/