All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.4.21-bk1] Qlogic compile warning fix
@ 2003-07-05 19:28 Michael Buesch
  0 siblings, 0 replies; only message in thread
From: Michael Buesch @ 2003-07-05 19:28 UTC (permalink / raw)
  To: Tom Zerucha; +Cc: Marcelo Tosatti, Linux Kernel Mailing List

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-05 19:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-05 19:28 [PATCH 2.4.21-bk1] Qlogic compile warning fix Michael Buesch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.