summaryrefslogtreecommitdiff
path: root/rust/kernel/workqueue.rs
diff options
context:
space:
mode:
authorOnur Özkan <work@onurozkan.dev>2025-08-21 12:12:35 +0300
committerJakub Kicinski <kuba@kernel.org>2025-09-03 15:35:42 -0700
commita7ddedc84c59a645ef970b992f7cda5bffc70cc0 (patch)
tree4b4126271ced77c28d74b4e27956db65d56d0022 /rust/kernel/workqueue.rs
parent69cd99350740a5acc81f46aa5def37808d8d6e78 (diff)
rust: phy: use to_result for error handling
Simplifies error handling by replacing the manual check of the return value with the `to_result` helper. Signed-off-by: Onur Özkan <work@onurozkan.dev> Reviewed-by: Elle Rhumsaa <elle@weathered-steel.dev> Reviewed-by: Trevor Gross <tmgross@umich.edu> Link: https://patch.msgid.link/20250821091235.800-1-work@onurozkan.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions