Remove unnecessary WARN_ONCE's from tracing_buffers_splice_read
WARN shouldn't be used as a means of communicating failure to a userspace programmer.
Signed-off-by Dave Jones <[email protected]>
kernel/trace/trace.c +0 -2
@@ -4136,13 +4136,11 @@ tracing_buffers_splice_read(struct file *file, loff_t *ppos,return -ENOMEM ;if (*ppos & (PAGE_SIZE -1 )) { -WARN_ONCE (1 ,"Ftrace: previous read must page-align\n" ); ret = -EINVAL ; goto out; }if (len & (PAGE_SIZE -1 )) { -WARN_ONCE (1 ,"Ftrace: splice_read should page-align\n" );if (len <PAGE_SIZE ) { ret = -EINVAL ; goto out;