mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
Kernel: Propagate errors in StorageController reset() and shutdown()
These used to signal an error with a boolean return type. We now return a sensible errno instead.
This commit is contained in:
parent
9927dab993
commit
d1e88a5141
9 changed files with 45 additions and 46 deletions
|
@ -33,8 +33,8 @@ public:
|
|||
u32 hardware_relative_controller_id() const { return m_hardware_relative_controller_id; }
|
||||
|
||||
protected:
|
||||
virtual bool reset() = 0;
|
||||
virtual bool shutdown() = 0;
|
||||
virtual ErrorOr<void> reset() = 0;
|
||||
virtual ErrorOr<void> shutdown() = 0;
|
||||
|
||||
virtual void complete_current_request(AsyncDeviceRequest::RequestResult) = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue