Loading drivers/scsi/ch.c +6 −0 Original line number Diff line number Diff line Loading @@ -353,6 +353,12 @@ ch_readconfig(scsi_changer *ch) /* look up the devices of the data transfer elements */ ch->dt = kmalloc(ch->counts[CHET_DT]*sizeof(struct scsi_device), GFP_KERNEL); if (!ch->dt) { kfree(buffer); return -ENOMEM; } for (elem = 0; elem < ch->counts[CHET_DT]; elem++) { id = -1; lun = 0; Loading Loading
drivers/scsi/ch.c +6 −0 Original line number Diff line number Diff line Loading @@ -353,6 +353,12 @@ ch_readconfig(scsi_changer *ch) /* look up the devices of the data transfer elements */ ch->dt = kmalloc(ch->counts[CHET_DT]*sizeof(struct scsi_device), GFP_KERNEL); if (!ch->dt) { kfree(buffer); return -ENOMEM; } for (elem = 0; elem < ch->counts[CHET_DT]; elem++) { id = -1; lun = 0; Loading