mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-03 14:50:02 +00:00
Kernel: Make KCOVDevice::ioctl() return KResult
Recent ioctl() changes broke this, this commit fixes that and the build.
This commit is contained in:
parent
713b18b7a6
commit
e76af0fe16
Notes:
sideshowbarker
2024-07-18 08:17:31 +09:00
Author: https://github.com/alimpfard
Commit: e76af0fe16
4 changed files with 13 additions and 13 deletions
|
@ -37,7 +37,7 @@ protected:
|
|||
virtual void start_request(AsyncBlockDeviceRequest& request) override final { request.complete(AsyncDeviceRequest::Failure); }
|
||||
virtual KResultOr<size_t> read(FileDescription&, u64, UserOrKernelBuffer&, size_t) override { return -EINVAL; }
|
||||
virtual KResultOr<size_t> write(FileDescription&, u64, const UserOrKernelBuffer&, size_t) override { return -EINVAL; }
|
||||
virtual int ioctl(FileDescription&, unsigned request, FlatPtr arg) override;
|
||||
virtual KResult ioctl(FileDescription&, unsigned request, Userspace<void*> arg) override;
|
||||
|
||||
private:
|
||||
KCOVDevice();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue