summaryrefslogtreecommitdiffhomepage
path: root/Kernel/StorageKit/ATA.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-07-13 15:15:25 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-07-13 15:15:48 +0200
commita00e0960d0dfe70771928a9809f78a582a25886d (patch)
tree880520469ce87d3588d5bd0b21ae6069a32085f9 /Kernel/StorageKit/ATA.hpp
parentb6977baf35447048425111d2b1d9d4d32438919a (diff)
[FIX] Device I/O fields shall be set to address 0 when invalid.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Kernel/StorageKit/ATA.hpp')
-rw-r--r--Kernel/StorageKit/ATA.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/StorageKit/ATA.hpp b/Kernel/StorageKit/ATA.hpp
index 374133f2..0862c56d 100644
--- a/Kernel/StorageKit/ATA.hpp
+++ b/Kernel/StorageKit/ATA.hpp
@@ -34,6 +34,6 @@ namespace Kernel
const char* Name() const override;
private:
- void (*fCleanup)(void);
+ void (*fCleanup)(void) = { nullptr };
};
-} // namespace Kernel \ No newline at end of file
+} // namespace Kernel