Skip to contentSkip to conversation

Compilation failures ppa.c imm.c

2.5.70-bk1 David van Hoose 2 participants 3 messages May 27, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 6 lines · David van Hoose

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

#2 lore raw

[2.5.70-bk1] Compilation failures riscom8.c

In reply to David van Hoose

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

Quoted 1 line

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