On Tue, 11 Sep 2007 08:34:33 -0400 linux-box <[EMAIL PROTECTED]> wrote:

> +     struct megasas_instance *instance =
> +                             (struct megasas_instance *)host->hostdata;

y'know, if some brave soul were to write

static inline void *scsi_host_data(struct Scsi_Host *host)
{
        return (void *)host->hostdata;
}

we could remove about 100000000000 ugly casts from scsi.

Just a thought...

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to