lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhQDy8m0inzw-JZ7XOYvLi0tmPw7kZ8k2Yx97Nk_UJgxVA@mail.gmail.com>
Date:   Fri, 10 Mar 2017 17:30:41 -0500
From:   Paul Moore <paul@...l-moore.com>
To:     Nicholas Mc Guire <der.herr@...r.at>
Cc:     Eric Paris <eparis@...hat.com>, linux-audit@...hat.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] audit: audit_watch: remove unnecessary semicolon

On Thu, Feb 23, 2017 at 11:24 AM, Nicholas Mc Guire <der.herr@...r.at> wrote:
> The excess ; after the closing parenthesis is just code-noise it has no
> and can be removed.
>
> Signed-off-by: Nicholas Mc Guire <der.herr@...r.at>
> ---
> Problem located by coccinelle
> ./kernel/audit_watch.c:495:2-3: Unneeded semicolon
>
> Patch was compiletested with: x86_64_defconfig (implies CONFIG_AUDIT )
>
> Patch is against 4.10.0 (localversion-next is next-20170222)
>
>  kernel/audit_watch.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Merged.

> diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c
> index f79e465..e293165 100644
> --- a/kernel/audit_watch.c
> +++ b/kernel/audit_watch.c
> @@ -492,7 +492,7 @@ static int audit_watch_handle_event(struct fsnotify_group *group,
>                 BUG();
>                 inode = NULL;
>                 break;
> -       };
> +       }
>
>         if (mask & (FS_CREATE|FS_MOVED_TO) && inode)
>                 audit_update_watch(parent, dname, inode->i_sb->s_dev, inode->i_ino, 0);
> --
> 2.1.4
>



-- 
paul moore
www.paul-moore.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ