Unified · Split
| @@ -44,7 +44,7 @@ extern int trace_seq_putmem(struct trace_seq *s, const void *mem, size_t len); · 43 unmodified lines | ||
| 44 | 44 | extern int trace_seq_putmem_hex(struct trace_seq *s, const void *mem, |
| 45 | 45 | size_t len); |
| 46 | 46 | extern void *trace_seq_reserve(struct trace_seq *s, size_t len); |
| 47 | −extern int trace_seq_path(struct trace_seq *s, struct path *path); | |
| 47 | +extern int trace_seq_path(struct trace_seq *s, const struct path *path); | |
| 48 | 48 | |
| 49 | 49 | #else /* CONFIG_TRACING */ |
| 50 | 50 | static inline int trace_seq_printf(struct trace_seq *s, const char *fmt, ...) |
| @@ -88,7 +88,7 @@ static inline void *trace_seq_reserve(struct trace_seq *s, size_t len) · 37 unmodified lines | ||
| 88 | 88 | { |
| 89 | 89 | return NULL; |
| 90 | 90 | } |
| 91 | −static inline int trace_seq_path(struct trace_seq *s, struct path *path) | |
| 91 | +static inline int trace_seq_path(struct trace_seq *s, const struct path *path) | |
| 92 | 92 | { |
| 93 | 93 | return 0; |
| 94 | 94 | } |
| @@ -264,7 +264,7 @@ void *trace_seq_reserve(struct trace_seq *s, size_t len) · 263 unmodified lines | ||
| 264 | 264 | return ret; |
| 265 | 265 | } |
| 266 | 266 | |
| 267 | −int trace_seq_path(struct trace_seq *s, struct path *path) | |
| 267 | +int trace_seq_path(struct trace_seq *s, const struct path *path) | |
| 268 | 268 | { |
| 269 | 269 | unsigned char *p; |
| 270 | 270 | |