mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: bonganilinux@mweb.co.za
To: Corporal_Pisang@Counter-Strike.com.my, linux-kernel@vger.kernel.org
Subject: Re: 2.5.40 compile error (missing imm.o)
Date: Wed, 2 Oct 2002 07:39:18 GMT	[thread overview]
Message-ID: <E17wdvf-0005YV-00@laibach.mweb.co.za> (raw)

> 
> Hi,
> 
> 2.5.40 gives me a compile error doesnt exists before.
> 
> gcc -Wp,-MD,./.imm.o.d -D__KERNEL__ -I/usr/src/linux/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=athlon  -I/usr/src/linux/arch/i386/mach-generic -nostdinc
> -iwithprefix include    -DKBUILD_BASENAME=imm   -c -o imm.o imm.c
> drivers/scsi/imm.c: In function `imm_interrupt':
> drivers/scsi/imm.c:901: warning: implicit declaration of function
> `queue_task'
> drivers/scsi/imm.c:901: `tq_timer' undeclared (first use in this function)
> drivers/scsi/imm.c:901: (Each undeclared identifier is reported only once
> drivers/scsi/imm.c:901: for each function it appears in.)
> drivers/scsi/imm.c: In function `imm_queuecommand':
> drivers/scsi/imm.c:1108: `tq_immediate' undeclared (first use in this
> function)
> drivers/scsi/imm.c:1109: warning: implicit declaration of function `mark_bh'
> drivers/scsi/imm.c:1109: `IMMEDIATE_BH' undeclared (first use in this
> function)

<snip>

Try this patch I think it should fix it (not tested though)


diff -uNr linux-2.5/drivers/scsi/imm.c.old linux-2.5/drivers/scsi/imm.c    
--- linux-2.5/drivers/scsi/imm.c.old	2002-10-02 09:30:41.000000000 +0200
+++ linux-2.5/drivers/scsi/imm.c	2002-10-02 09:31:53.000000000 +0200
@@ -898,7 +898,7 @@
     if (imm_engine(tmp, cmd)) {
 	tmp->imm_tq.data = (void *) tmp;
 	tmp->imm_tq.sync = 0;
-	queue_task(&tmp->imm_tq, &tq_timer);
+	schedule_task(&tmp->imm_tq);
 	return;
     }
     /* Command must of completed hence it is safe to let go... */
@@ -1105,8 +1105,7 @@
 
     imm_hosts[host_no].imm_tq.data = imm_hosts + host_no;
     imm_hosts[host_no].imm_tq.sync = 0;
-    queue_task(&imm_hosts[host_no].imm_tq, &tq_immediate);
-    mark_bh(IMMEDIATE_BH);
+    schedule_task(&imm_hosts[host_no].imm_tq);
 
     return 0;
 }

Cheers

> 
> Regards
> 
> -Ubaida-


---------------------------------------------
This message was sent using M-Web Airmail.
JUST LIKE THAT
Are you ready for 10-digit dialling?
To find out how this will affect your Internet connection go to www.mweb.co.za/ten
http://airmail.mweb.co.za/



             reply	other threads:[~2002-10-02  7:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02  7:39 bonganilinux [this message]
2002-10-02  8:22 ` Corporal Pisang
  -- strict thread matches above, loose matches on Subject: below --
2002-10-02  6:38 Corporal Pisang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E17wdvf-0005YV-00@laibach.mweb.co.za \
    --to=bonganilinux@mweb.co.za \
    --cc=Corporal_Pisang@Counter-Strike.com.my \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®