diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-10-16 13:49:53 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-10-16 13:49:53 +0200 |
| commit | 6fbdfddecc9771adb43b7c673a99c93e50c33dbc (patch) | |
| tree | ef31762db6ffeca3e89581a32b3fe77e5b0af92d /dev/modules | |
| parent | 709e9fb51824352709a566d0412e40b0a180d955 (diff) | |
FIX: SCSI driver fixes regarding scsi_packet_type.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/modules')
| -rw-r--r-- | dev/modules/SCSI/SCSI.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/modules/SCSI/SCSI.hxx b/dev/modules/SCSI/SCSI.hxx index 5283bc01..92c588d2 100644 --- a/dev/modules/SCSI/SCSI.hxx +++ b/dev/modules/SCSI/SCSI.hxx @@ -11,4 +11,5 @@ /// @file SCSI.hxx /// @brief Serial SCSI driver. -typedef Kernel::UInt16 scsi_packet_type[12]; +template <int PacketBitLen> +using scsi_packet_type = Kernel::UInt16[PacketBitLen]; |
