> int scsi_register_device_handler(struct scsi_device_handler *scsi_dh) > { > + int i; > + > if (get_device_handler(scsi_dh->name)) > return -EBUSY; > > spin_lock(&list_lock); > + scsi_dh->idx = scsi_dh_list_idx++; > list_add(&scsi_dh->list, &scsi_dh_list); > spin_unlock(&list_lock); > + > + for (i = 0; scsi_dh->devlist[i].vendor; i++) { > + scsi_dev_info_list_add_keyed(1, /* compatible */ This actually needs to be 0, or else this has the exact same bug I originally set out to fix. > + scsi_dh->devlist[i].vendor, > + scsi_dh->devlist[i].model, > + NULL, > + scsi_dh->idx, > + SCSI_DEVINFO_DH); > + } -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html