[PATCH 2.4.21-bk1] Qlogic compile warning fix

Michael Buesch (fsdeveloper@yahoo.de)
Sat, 5 Jul 2003 21:28:38 +0200


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/