firmware: hardcode the debug message for -ENOENT
authorJohn Zhao <yuankuiz@codeaurora.org>
Wed, 20 Feb 2019 02:39:04 +0000 (10:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Feb 2019 10:59:43 +0000 (11:59 +0100)
commiteac473bce4b73a089880fb164b8badef81f57fbc
treedbcc6c20da2fd6234815de98257230a5e3980164
parenta7013ba5a9302cbded1c45ab48003c6346584a4d
firmware: hardcode the debug message for -ENOENT

When no file /path was found, the error code of -ENOENT
enumerated in errno-base.h, is returned. Stating clearly that
the file was not found is much more useful for debugging, So
let's be explicit about that.

Signed-off-by: John Zhao <yuankuiz@codeaurora.org>
Acked-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_loader/main.c