public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Buesch <fsdeveloper@yahoo.de>
To: Tom Zerucha <tz@execpc.com>
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.4.21-bk1] Qlogic compile warning fix
Date: Sat, 5 Jul 2003 21:28:38 +0200	[thread overview]
Message-ID: <200307052114.38023.fsdeveloper@yahoo.de> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

FIXME: Tom, are you the maintainer?


fixes "Warning: passing arg 1 of `scsi_unregister' from incompatible pointer type"
compiletime warning.

- --- drivers/scsi/qlogicfas.c.orig       2003-06-13 20:52:42.000000000 +0200
+++ drivers/scsi/qlogicfas.c    2003-07-05 21:09:59.000000000 +0200
@@ -647,7 +647,7 @@
        if(request_irq(qlirq, do_ql_ihandl, SA_SHIRQ, "qlogicfas", hreg) < 0)
 #endif
        {
- -               scsi_unregister(host);
+               scsi_unregister((struct Scsi_Host*)host);
                goto err_release_mem;
        }
 #endif

- --
Regards Michael Buesch
http://www.8ung.at/tuxsoft
 21:10:16 up  2:13,  3 users,  load average: 0.44, 0.25, 0.23



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/BybmoxoigfggmSgRAtihAJ9ktdjsk2/6YoRqleRqDb6TDY6XQwCfaORR
ZuSI2KFHPWcjgnUcjR9eDBI=
=bu/y
-----END PGP SIGNATURE-----


                 reply	other threads:[~2003-07-05 19:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200307052114.38023.fsdeveloper@yahoo.de \
    --to=fsdeveloper@yahoo.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=tz@execpc.com \
    /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