summaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-03-14 21:51:10 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-03-20 21:29:40 -0400
commit38eff2892628fa5c4fc8962a17b7296f42833ebe (patch)
tree6a138b3a4bd712b65797bae334bd7bd3ec12c038 /kernel/trace
parent66b3fad3f4c535c92b6a1184d535a97d6aa5d82a (diff)
downloadop-kernel-dev-38eff2892628fa5c4fc8962a17b7296f42833ebe.zip
op-kernel-dev-38eff2892628fa5c4fc8962a17b7296f42833ebe.tar.gz
constify path argument of trace_seq_path()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c
index 0d6ff35..6909871 100644
--- a/kernel/trace/trace_output.c
+++ b/kernel/trace/trace_output.c
@@ -264,7 +264,7 @@ void *trace_seq_reserve(struct trace_seq *s, size_t len)
return ret;
}
-int trace_seq_path(struct trace_seq *s, struct path *path)
+int trace_seq_path(struct trace_seq *s, const struct path *path)
{
unsigned char *p;
OpenPOWER on IntegriCloud