Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1598143 > unrolled thread
| Started by | Paul Moore <paul@paul-moore.com> |
|---|---|
| First post | 2017-03-10 23:30 +0100 |
| Last post | 2017-03-10 23:30 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 2/3] audit: audit_fsnotify: remove unnecessary semicolon Paul Moore <paul@paul-moore.com> - 2017-03-10 23:30 +0100
| From | Paul Moore <paul@paul-moore.com> |
|---|---|
| Date | 2017-03-10 23:30 +0100 |
| Subject | Re: [PATCH 2/3] audit: audit_fsnotify: remove unnecessary semicolon |
| Message-ID | <tjBcR-1S7-1@gated-at.bofh.it> |
On Thu, Feb 23, 2017 at 11:24 AM, Nicholas Mc Guire <der.herr@hofr.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@hofr.at>
> ---
> Problem located by coccinelle
> ./kernel/audit_fsnotify.c:190: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_fsnotify.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Merged.
> diff --git a/kernel/audit_fsnotify.c b/kernel/audit_fsnotify.c
> index 7ea57e5..b16a5bd 100644
> --- a/kernel/audit_fsnotify.c
> +++ b/kernel/audit_fsnotify.c
> @@ -187,7 +187,7 @@ static int audit_mark_handle_event(struct fsnotify_group *group,
> default:
> BUG();
> return 0;
> - };
> + }
>
> if (mask & (FS_CREATE|FS_MOVED_TO|FS_DELETE|FS_MOVED_FROM)) {
> if (audit_compare_dname_path(dname, audit_mark->path, AUDIT_NAME_FULL))
> --
> 2.1.4
>
--
paul moore
www.paul-moore.com
Back to top | Article view | linux.kernel
csiph-web