#include <linux/cred.h>
#include <linux/key-type.h>
#include <linux/digsig.h>
+#include <linux/vmalloc.h>
#include <crypto/public_key.h>
#include <keys/system_keyring.h>
rc = kernel_read_file_from_path(path, &data, &size, 0,
READING_X509_CERTIFICATE);
if (rc < 0) {
- pr_err("Unable to open file: %s (%d)", path, rc);
+ pr_warn("Unable to open file: %s (%d)", path, rc);
return rc;
}