commit | 1532523576f574f90e1245bdebc69c847f401f1c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@linaro.org> | Thu Jul 27 10:16:20 2023 +0300 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Thu Aug 03 09:21:02 2023 +0200 |
tree | 550fd7cf5515440e73a4be8a9d5b9ddf4e9c33e0 | |
parent | a8000b9694d6dc8ff83309d6654ffdbc9c0c9c05 [diff] |
efi_loader: fix an IS_ERR() vs NULL check The efi_parse_pkcs7_header() function returns NULL on error so the check for IS_ERR() should be changed to a NULL check. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>