Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1353640imu; Wed, 9 Jan 2019 16:56:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN6o++NXoWld46+cY18dNWW/UQDez3/gTXp4uoWtullW/dFAr696aAHHQFW/mpCLp3l/gGZB X-Received: by 2002:a17:902:c85:: with SMTP id 5mr8358563plt.339.1547081761407; Wed, 09 Jan 2019 16:56:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547081761; cv=none; d=google.com; s=arc-20160816; b=uzKzrIxMrJySDQBaoAJZ/qyFaFu/ctdlOlaMDQua/p1KFQP6RrTrvAKTCUedTtwYkn 3EnyH2NHWAIyglpqimxyXzhfWH5EXKB5iuI7esT1Gp14vdjrnqu68974C5QnebrfdNur 9WXsIFghFGA8UHFFLNaw5uopmS9oi/HFp6/S0HY82rpAkzn4UM0Ez6c/tYTB3xHKf4C4 AHQ9vkCxR4VZCIilGoWpy1C1de+PznKXRSYshEX5tGCnDERsZ7lXGwDF9U+Pf4bSnvh5 PL3uSAQSW3ETUiawNluLl0cR+0eUmVlzvjXPTWgOZbkelREbzwEJ5oEpkFZmM4q6kAo4 WdgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=whQTbq+D2SNbxG+9U732P/FdMekb35BbA4EKj0dp34s=; b=x2vOj1d5hkFysl4ZOgre+J8cMKiF/oCqrDUSuozBbZUuJ/9r0vmAhD7CvoH0wLE2Ac q/Z0TFQGi6U0+xyYGAtOP+p6OjB4A7mqw0g0LtIYQeJ86AhgVAZA/WboNaGoZziNMykK PvZUlHggu3U7VZ79j4B1FBlYJJA2RHvyoR/Js5v++9wGw65buLM8bi70MRpjvwh1PuBI b49jG3ol0h5h87d8GSe3rLQGbQ9lRRHM+u0/I9KDa9angusrWUH0F9EI3sBj8HXezRTP fQB1LMfTcm4+Dq95pF4HBkGxy28SGHXrylILGQZf+aNMzOYkHIlCietl2IPrgXhAHdga O2Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=uqs0aoLh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f21si46172616pgb.371.2019.01.09.16.55.45; Wed, 09 Jan 2019 16:56:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=uqs0aoLh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726875AbfAJAyc (ORCPT + 99 others); Wed, 9 Jan 2019 19:54:32 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:42936 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726286AbfAJAyb (ORCPT ); Wed, 9 Jan 2019 19:54:31 -0500 Received: by mail-lf1-f66.google.com with SMTP id l10so7045120lfh.9 for ; Wed, 09 Jan 2019 16:54:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=whQTbq+D2SNbxG+9U732P/FdMekb35BbA4EKj0dp34s=; b=uqs0aoLhxVABXGYbNXR6KIc8b0zWMHpQ3q98ELUgWlUSGCaBA+632UThdlyNS3G0kb l3FKQVKbQOkl/ITslw0eK68IJg1C0dwOxBE4g6ppoUQaCaAmDwwV5ry0gfFeinY1ZQfu agtspiX+bRmHhsx5/YFAjJKMWpSFgImgRqKv+SbZGUbyOA5ueFBCRO4INJzMMdzv5djf K6aeHR4qe5cyy8kAkCEwBd9aoq0EvLNnXzVg6BHJcHRQBhrS06Lp1ql+yQcOvQ+khiDz +QVEMkrLG2FdFEvhLbeYPec7WF+muA1Eqgt8kfwAMGe7aXQ88sNZOMMhfFr5TTBqBiYs sOLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=whQTbq+D2SNbxG+9U732P/FdMekb35BbA4EKj0dp34s=; b=IKtoF4+Plg85rI7TlcUrIJYSLAsEMJ8Tp8p0Vojy11gRGHh+ueBjelauuWuUOGPc+W BL920DyWkik0hK1N/PDOmWlikOeTo8jjtYs/f5QQrFXDk8tnC34cvZHL4JwUPagTLAMF ZaaXbTevO24wU41t9hSHWq3qQWOYuakUPSK6l+TpXbRQbhT0JrfYY3WUvPxe1aZGT3xc qdUF/iM6nzKlFesag7XKxwzKMXi7njkXmx8uXWoYtBQujQrTo5XeVqH1qzA8nz9UtjGv onXqDRtKvxgIF3lyKIIvale3/raKommnE2+9FKCdSdpLQmP9mKRWPJ8EOWhggfWsBuPt MW6g== X-Gm-Message-State: AJcUukf0+DB0Vx/2WoCESzBoi5XyDZ4lh276dbcg4o0qelGI6chOAC7r 3WYjkO5flQwSutpWsfKm41i2yR1ldW6FjZLVPN9p X-Received: by 2002:a19:a40f:: with SMTP id q15mr2403509lfc.4.1547081669323; Wed, 09 Jan 2019 16:54:29 -0800 (PST) MIME-Version: 1.0 References: <1546593547-24406-1-git-send-email-peng.hao2@zte.com.cn> In-Reply-To: <1546593547-24406-1-git-send-email-peng.hao2@zte.com.cn> From: Paul Moore Date: Wed, 9 Jan 2019 19:54:18 -0500 Message-ID: Subject: Re: [PATCH] security/selinux/hooks: remove unneeded semicolon To: Peng Hao Cc: Stephen Smalley , Eric Paris , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, selinux@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 3, 2019 at 7:55 PM Peng Hao wrote: > > Remove unneeded semicolon. > > Signed-off-by: Peng Hao > --- > 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