mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Li Zefan <lizefan@huawei.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ftrace: Remove ftrace_regex_lseek()
Date: Fri, 07 Jun 2013 15:50:24 -0400	[thread overview]
Message-ID: <1370634624.9844.93.camel@gandalf.local.home> (raw)
In-Reply-To: <51B1A1BD.40905@huawei.com>

On Fri, 2013-06-07 at 17:02 +0800, Li Zefan wrote:
> This is a leftover after ftrace_regex_lseek() was renamed to
> ftrace_filter_lseek() and then ftrace_filter_lseek() was moved
> out side of CONFIG_DYNAMIC_FTRACE.
> 
> Signed-off-by: Li Zefan <lizefan@huawei.com>

Thanks! I queued this up for 3.11, as it's not important enough for a
later -rc release.

-- Steve

> ---
>  include/linux/ftrace.h | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
> index 99d0fbc..e48ed1d 100644
> --- a/include/linux/ftrace.h
> +++ b/include/linux/ftrace.h
> @@ -566,10 +566,6 @@ static inline ssize_t ftrace_filter_write(struct file *file, const char __user *
>  			    size_t cnt, loff_t *ppos) { return -ENODEV; }
>  static inline ssize_t ftrace_notrace_write(struct file *file, const char __user *ubuf,
>  			     size_t cnt, loff_t *ppos) { return -ENODEV; }
> -static inline loff_t ftrace_regex_lseek(struct file *file, loff_t offset, int whence)
> -{
> -	return -ENODEV;
> -}
>  static inline int
>  ftrace_regex_release(struct inode *inode, struct file *file) { return -ENODEV; }
>  #endif /* CONFIG_DYNAMIC_FTRACE */



      reply	other threads:[~2013-06-07 19:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-07  9:02 Li Zefan
2013-06-07 19:50 ` Steven Rostedt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1370634624.9844.93.camel@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®