commit | c926820085437a27b27e78996b2c7a5ad94e8055 | [log] [tgz] |
---|---|---|
author | Andy Lutomirski <luto@kernel.org> | Thu Jun 15 13:46:00 2017 +0200 |
committer | Jean Delvare <jdelvare@suse.de> | Thu Jun 15 13:46:00 2017 +0200 |
tree | b792ab228b685848a0f8cd8880bcf8ca0876ceb5 | |
parent | c9aba14362a6eec583819ec8f4b872c1816f5cbe [diff] |
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: Andy Lutomirski <luto@kernel.org> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org> Signed-off-by: Jean Delvare <jdelvare@suse.de>