summaryrefslogtreecommitdiffhomepage
path: root/dev/modules
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-10-16 13:49:53 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-10-16 13:49:53 +0200
commit6fbdfddecc9771adb43b7c673a99c93e50c33dbc (patch)
treeef31762db6ffeca3e89581a32b3fe77e5b0af92d /dev/modules
parent709e9fb51824352709a566d0412e40b0a180d955 (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.hxx3
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];