drivers/leds/leds-lp5521.c: ret may be uninitialized
[firefly-linux-kernel-4.4.55.git] / kernel / audit.c
index bb0eb5bb9a0a8761286dfc29cd1aa5b8587e2801..1c7f2c61416b6b379c07c3af8ec225163670ed1f 100644 (file)
@@ -1418,7 +1418,7 @@ void audit_log_untrustedstring(struct audit_buffer *ab, const char *string)
 
 /* This is a helper-function to print the escaped d_path */
 void audit_log_d_path(struct audit_buffer *ab, const char *prefix,
-                     struct path *path)
+                     const struct path *path)
 {
        char *p, *pathname;