You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[SCSI] audit drivers for incorrect max_id use
max_id now means the maximum number of ids on the bus, which means it is one greater than the largest possible id number. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
committed by
James Bottomley
parent
091686d3b5
commit
2b89dad0c7
@@ -376,7 +376,7 @@ NCR_700_detect(struct scsi_host_template *tpnt,
|
||||
dma_sync_single_for_device(hostdata->dev, pScript, sizeof(SCRIPT), DMA_TO_DEVICE);
|
||||
hostdata->state = NCR_700_HOST_FREE;
|
||||
hostdata->cmd = NULL;
|
||||
host->max_id = 7;
|
||||
host->max_id = 8;
|
||||
host->max_lun = NCR_700_MAX_LUNS;
|
||||
BUG_ON(NCR_700_transport_template == NULL);
|
||||
host->transportt = NCR_700_transport_template;
|
||||
|
||||
Reference in New Issue
Block a user