fs/kernel_read_file: Add file_size output argument
[platform/kernel/linux-starfive.git] / security / integrity / digsig.c
index 04f779c..8a523df 100644 (file)
@@ -175,7 +175,7 @@ int __init integrity_load_x509(const unsigned int id, const char *path)
        int rc;
        key_perm_t perm;
 
-       rc = kernel_read_file_from_path(path, &data, INT_MAX,
+       rc = kernel_read_file_from_path(path, &data, INT_MAX, NULL,
                                        READING_X509_CERTIFICATE);
        if (rc < 0) {
                pr_err("Unable to open file: %s (%d)", path, rc);