2003-05-27 15:14:50

by David van Hoose

[permalink] [raw]
Subject: [2.5.70-bk1] Compilation failures ppa.c imm.c

There is a compilation error on line 280 of ppa.c.
Should
if (ppa_hosts[i] == host)
Be
if ((struct Scsi_Host *)&ppa_hosts[i] == host)
??

Also, imm.c fails to compile on line 112 claiming that imm_proc_info is
undeclared by that point.
Any questions?

-David


2003-05-27 15:25:40

by David van Hoose

[permalink] [raw]
Subject: Re: [2.5.70-bk1] Compilation failures ppa.c imm.c

David van Hoose wrote:
> There is a compilation error on line 280 of ppa.c.
> Should
> if (ppa_hosts[i] == host)
> Be
> if ((struct Scsi_Host *)&ppa_hosts[i] == host)
> ??

Actually.. Looking at imm.c, I think that was supposed to be:
if (ppa_hosts[i].host == host->host_no)

Correct?

-David

2003-05-27 20:31:53

by Adam Cecchetti

[permalink] [raw]
Subject: [2.5.70-bk1] Compilation failures riscom8.c

drivers/char/riscom8.h
line 85: struct tq_struct tqueue;
line 86: struct tq_struct tqueue_hangup;

I can't find where/what tq_struct should be declared
>From looking at simular drivers should tq_struct be work_struct?



drivers/char/riscom8.c
line 349: mark_bh(RISCOM8_BH);
line 1707: init_bh(RISCOM8_BH, do_riscom_bh);
RISCOM8_BH is also missing