mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 13:27:34 +00:00
Kernel: Propagate properly errors from ISAIDEController initialization
This commit is contained in:
parent
e785c66f91
commit
d94f3b902c
3 changed files with 22 additions and 26 deletions
|
@ -18,12 +18,12 @@ class AsyncBlockDeviceRequest;
|
|||
|
||||
class ISAIDEController final : public IDEController {
|
||||
public:
|
||||
static NonnullLockRefPtr<ISAIDEController> initialize();
|
||||
static ErrorOr<NonnullLockRefPtr<ISAIDEController>> initialize();
|
||||
|
||||
private:
|
||||
ISAIDEController();
|
||||
|
||||
LockRefPtr<StorageDevice> device_by_channel_and_position(u32 index) const;
|
||||
void initialize_channels();
|
||||
ErrorOr<void> initialize_channels();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue