diff options
Diffstat (limited to 'Kernel/Devices/AsyncDeviceRequest.h')
-rw-r--r-- | Kernel/Devices/AsyncDeviceRequest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Devices/AsyncDeviceRequest.h b/Kernel/Devices/AsyncDeviceRequest.h index 2afbce1838..a7c2663b50 100644 --- a/Kernel/Devices/AsyncDeviceRequest.h +++ b/Kernel/Devices/AsyncDeviceRequest.h @@ -81,7 +81,7 @@ public: void* get_private() const { return m_private; } template<typename... Args> - [[nodiscard]] bool write_to_buffer(UserOrKernelBuffer& buffer, Args... args) + KResult write_to_buffer(UserOrKernelBuffer& buffer, Args... args) { if (in_target_context(buffer)) return buffer.write(forward<Args>(args)...); @@ -99,7 +99,7 @@ public: } template<typename... Args> - [[nodiscard]] bool read_from_buffer(const UserOrKernelBuffer& buffer, Args... args) + KResult read_from_buffer(const UserOrKernelBuffer& buffer, Args... args) { if (in_target_context(buffer)) return buffer.read(forward<Args>(args)...); |