public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] signed bug in scsi_device.h
@ 2004-05-13 16:43 Olaf Hering
  2004-05-13 17:10 ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2004-05-13 16:43 UTC (permalink / raw)
  To: linux-scsi, akpm


one of the recent aic7xxx versions puts a -1 in scsi_cmnd->device->type,
in drivers/scsi/aic7xxx/aic79xx_osm.c
that doesnt work very well on ppc because aic7xxx tends to use -Werror.

maybe scsi_level needs the signed as well.

--- ./include/scsi/scsi_device.h~       2004-05-13 18:22:20.000000000 +0200
+++ ./include/scsi/scsi_device.h        2004-05-13 18:27:37.000000000 +0200
@@ -57,7 +57,7 @@ struct scsi_device {

        void *hostdata;         /* available to low-level driver */
        char devfs_name[256];   /* devfs junk */
-       char type;
+       signed char type;
        char scsi_level;
        unsigned char inquiry_len;      /* valid bytes in 'inquiry' */
        unsigned char * inquiry;        /* INQUIRY response data */

-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-13 17:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13 16:43 [PATCH] signed bug in scsi_device.h Olaf Hering
2004-05-13 17:10 ` Christoph Hellwig
2004-05-13 17:16   ` Olaf Hering
2004-05-13 17:17   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox