Skip to content

Commit ad10c08

Browse files
committed
[SCSIPORT] Fix "Targed" typo
1 parent b51789c commit ad10c08

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/storage/port/scsiport/scsiport.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,9 +1203,9 @@ ScsiPortInitialize(
12031203

12041204
/* Copy all stuff which we ever need from PortConfig to the DeviceExtension */
12051205
if (PortConfig->MaximumNumberOfTargets > SCSI_MAXIMUM_TARGETS_PER_BUS)
1206-
DeviceExtension->MaxTargedIds = SCSI_MAXIMUM_TARGETS_PER_BUS;
1206+
DeviceExtension->MaxTargetIds = SCSI_MAXIMUM_TARGETS_PER_BUS;
12071207
else
1208-
DeviceExtension->MaxTargedIds = PortConfig->MaximumNumberOfTargets;
1208+
DeviceExtension->MaxTargetIds = PortConfig->MaximumNumberOfTargets;
12091209

12101210
DeviceExtension->NumberOfBuses = PortConfig->NumberOfBuses;
12111211
DeviceExtension->CachesData = PortConfig->CachesData;

drivers/storage/port/scsiport/scsiport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ typedef struct _SCSI_PORT_DEVICE_EXTENSION
240240
ULONG Flags;
241241

242242
UCHAR NumberOfBuses;
243-
ULONG MaxTargedIds;
243+
ULONG MaxTargetIds;
244244
ULONG MaxLunCount;
245245

246246
KSPIN_LOCK IrqLock; /* Used when there are 2 irqs */

0 commit comments

Comments
 (0)