From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
To: Qiujun Huang <hqjagain@gmail.com>
Cc: rostedt@goodmis.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tracing: remove __bad_type_size() method
Date: Fri, 18 Nov 2022 10:18:11 +0900 [thread overview]
Message-ID: <20221118101811.7d120f813149f7da8ba907a2@kernel.org> (raw)
In-Reply-To: <D062EC2E-7DB7-4402-A67E-33C3577F551E@gmail.com>
On Fri, 18 Nov 2022 00:44:35 +0800
Qiujun Huang <hqjagain@gmail.com> wrote:
>
> __bad_type_size() is unused after
> commit 04ae87a52074("ftrace: Rework event_create_dir()").
> So, remove it.
>
This looks good to me.
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Thanks!
> Signed-off-by: Qiujun Huang <hqjagain@gmail.com>
> ---
> kernel/trace/trace_syscalls.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c
> index b69e207012c9..942ddbdace4a 100644
> --- a/kernel/trace/trace_syscalls.c
> +++ b/kernel/trace/trace_syscalls.c
> @@ -201,8 +201,6 @@ print_syscall_exit(struct trace_iterator *iter, int flags,
> return trace_handle_return(s);
> }
>
> -extern char *__bad_type_size(void);
> -
> #define SYSCALL_FIELD(_type, _name) { \
> .type = #_type, .name = #_name, \
> .size = sizeof(_type), .align = __alignof__(_type), \
> --
> 2.30.2
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
prev parent reply other threads:[~2022-11-18 1:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-17 16:44 Qiujun Huang
2022-11-18 1:18 ` Masami Hiramatsu [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=20221118101811.7d120f813149f7da8ba907a2@kernel.org \
--to=mhiramat@kernel.org \
--cc=hqjagain@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
/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®