Re: 2.1.127pre7 and tpqic...

Jens Axboe (axboe@image.dk)
Fri, 06 Nov 1998 20:09:16 +0100


This is a multi-part message in MIME format.
--------------09EA86FB9B054586F6B1F951
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

"Michael H. Warfield" wrote:
> Looks like somewhere between 2.1.127pre3 and 2.1.127pre7 that
> the QIC tape driver (tpqic) module build got busted. Here is the gcc
> error output:
>
> gcc -D__KERNEL__ -I/mnt2/src/linux-2.1.127p7/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -c -o tpqic02.o tpqic02.c
> tpqic02.c: In function `wait_for_ready':
> tpqic02.c:591: structure has no member named `timeout'
> make[2]: *** [tpqic02.o] Error 1
> make[2]: Leaving directory `/mnt2/src/linux-2.1.127p7/drivers/char'
> make[1]: *** [_modsubdir_char] Error 2
> make[1]: Leaving directory `/mnt2/src/linux-2.1.127p7/drivers'
> make: *** [_mod_drivers] Error 2

The following patch should fix that.

-- 
*  Jens Axboe
*
* "The only thing that interferes with my
*  learning is my education." -- A. Einstein
--------------09EA86FB9B054586F6B1F951
Content-Type: application/octet-stream;
 name="tpqic02.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="tpqic02.diff"

ZGlmZiAtdXIgY2xlYW4vZHJpdmVycy9jaGFyL3RwcWljMDIuYyBsaW51eC9kcml2ZXJzL2No YXIvdHBxaWMwMi5jCi0tLSBjbGVhbi9kcml2ZXJzL2NoYXIvdHBxaWMwMi5jCVdlZCBOb3Yg IDQgMTg6MDI6MTYgMTk5OAorKysgbGludXgvZHJpdmVycy9jaGFyL3RwcWljMDIuYwlGcmkg Tm92ICA2IDIwOjAyOjE5IDE5OTgKQEAgLTU4OCw5ICs1ODgsOCBAQAogCQkvKiBub3QgcmVh ZHkgYW5kIG5vIGV4Y2VwdGlvbiAmJiB0aW1lb3V0IG5vdCBleHBpcmVkIHlldCAqLwogCXdo aWxlICgoKHN0YXQgPSBpbmJfcChRSUMwMl9TVEFUX1BPUlQpICYgUUlDMDJfU1RBVF9NQVNL KSA9PSBRSUMwMl9TVEFUX01BU0spICYmIChqaWZmaWVzPHNwaW5fdCkpIHsKIAkJLyogYmUg YG5pY2VgIHRvIG90aGVyIHByb2Nlc3NlcyBvbiBsb25nIG9wZXJhdGlvbnMuLi4gKi8KLQkJ Y3VycmVudC0+dGltZW91dCA9IGppZmZpZXMgKyAzKkhaLzEwOwkvKiBuYXAgMC4zMCBzZWMg YmV0d2VlbiBjaGVja3MsICovCiAJCWN1cnJlbnQtPnN0YXRlID0gVEFTS19JTlRFUlJVUFRJ QkxFOwotCQlzY2hlZHVsZSgpOwkJIC8qIGJ1dCBjb3VsZCBiZSB3b2tlbiB1cCBlYXJsaWVy IGJ5IHNpZ25hbHMuLi4gKi8KKwkJc2NoZWR1bGVfdGltZW91dCgzKkhaLzEwKTsJLyogbmFw IDAuMzAgc2VjIGJldHdlZW4gY2hlY2tzLCAqLwogCX0KIAogCS8qIGRvbid0IHVzZSBqaWZm aWVzIGZvciB0aGlzIHRlc3QgYmVjYXVzZSBpdCBtYXkgaGF2ZSBjaGFuZ2VkIGJ5IG5vdyAq Lwo= --------------09EA86FB9B054586F6B1F951--

- 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/