[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhTpHNxFUR7OP+=cVPiFOTw33ptrV89HPCORo4bvMQFc-g@mail.gmail.com>
Date: Wed, 9 Jan 2019 19:54:18 -0500
From: Paul Moore <paul@...l-moore.com>
To: Peng Hao <peng.hao2@....com.cn>
Cc: Stephen Smalley <sds@...ho.nsa.gov>,
Eric Paris <eparis@...isplace.org>,
linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, selinux@...r.kernel.org
Subject: Re: [PATCH] security/selinux/hooks: remove unneeded semicolon
On Thu, Jan 3, 2019 at 7:55 PM Peng Hao <peng.hao2@....com.cn> wrote:
>
> Remove unneeded semicolon.
>
> Signed-off-by: Peng Hao <peng.hao2@....com.cn>
> ---
> security/selinux/hooks.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
> index a67459e..73c679e 100644
> --- a/security/selinux/hooks.c
> +++ b/security/selinux/hooks.c
> @@ -1263,7 +1263,7 @@ static void selinux_write_opts(struct seq_file *m,
> default:
> BUG();
> return;
> - };
> + }
> /* we need a comma before each option */
> seq_putc(m, ',');
> seq_puts(m, prefix);
Thank you for your patch, but the selinux_write_opts() function was
just removed in v5.0-rc1 in commit e3489f8974e1 ("selinux: kill
selinux_sb_get_mnt_opts()").
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists