Skip to content
Commit c9268200 authored by Andy Lutomirski's avatar Andy Lutomirski Committed by Jean Delvare
Browse files

firmware: dmi_scan: Make dmi_walk and dmi_walk_early return real error codes



Currently they return -1 on error, which will confuse callers if
they try to interpret it as a normal negative error code.

Signed-off-by: default avatarAndy Lutomirski <luto@kernel.org>
Signed-off-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
parent c9aba143
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment