Messages in this thread | | | Date | Fri, 17 Oct 2003 13:03:24 +0100 | From | Christoph Hellwig <> | Subject | Re: [patch][3/3] qlogic: set host name before using scsi_host_alloc() |
| |
> + sprintf(qinfo, > + "Qlogicfas Driver version 0.46, chip %02X at %03X, IRQ %d, TPdma:%d", > + qltyp, qbase, qlirq, QL_TURBO_PDMA); > + host->name = qinfo; > +
This should be
.name = "qlogicfas",
in the host template defintion instead, that makes the text const and has no runtime overhead.
- 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/
| |