diff options
author | Andy Lutomirski <luto@kernel.org> | 2017-06-15 13:46:00 +0200 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2017-06-15 13:46:00 +0200 |
commit | c926820085437a27b27e78996b2c7a5ad94e8055 (patch) | |
tree | b792ab228b685848a0f8cd8880bcf8ca0876ceb5 /drivers/mtd/chips/cfi_cmdset_0001.c | |
parent | c9aba14362a6eec583819ec8f4b872c1816f5cbe (diff) | |
download | blackbird-op-linux-c926820085437a27b27e78996b2c7a5ad94e8055.tar.gz blackbird-op-linux-c926820085437a27b27e78996b2c7a5ad94e8055.zip |
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>
Diffstat (limited to 'drivers/mtd/chips/cfi_cmdset_0001.c')
0 files changed, 0 insertions, 0 deletions