* [PATCH] kcmp: Drop branch leftover typo
@ 2017-09-17 16:58 Cyrill Gorcunov
2017-09-18 17:54 ` Andrei Vagin
0 siblings, 1 reply; 2+ messages in thread
From: Cyrill Gorcunov @ 2017-09-17 16:58 UTC (permalink / raw)
To: LKML; +Cc: Eugene Syromiatnikov, Andrey Vagin, Andrew Morton, Pavel Emelyanov
The else branch been leftover and escaped the source
code refresh. Not a problem but better clean it up.
Reported-by: Eugene Syromiatnikov <esyr@redhat.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
CC: Andrey Vagin <avagin@openvz.org>
CC: Andrew Morton <akpm@linuxfoundation.org>
CC: Pavel Emelyanov <xemul@virtuozzo.com>
---
kernel/kcmp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-ml.git/kernel/kcmp.c
===================================================================
--- linux-ml.git.orig/kernel/kcmp.c
+++ linux-ml.git/kernel/kcmp.c
@@ -131,7 +131,7 @@ static int kcmp_epoll_target(struct task
if (filp_epoll) {
filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff);
fput(filp_epoll);
- } else
+ }
if (IS_ERR(filp_tgt))
return PTR_ERR(filp_tgt);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] kcmp: Drop branch leftover typo
2017-09-17 16:58 [PATCH] kcmp: Drop branch leftover typo Cyrill Gorcunov
@ 2017-09-18 17:54 ` Andrei Vagin
0 siblings, 0 replies; 2+ messages in thread
From: Andrei Vagin @ 2017-09-18 17:54 UTC (permalink / raw)
To: Cyrill Gorcunov
Cc: LKML, Eugene Syromiatnikov, Andrey Vagin, Andrew Morton, Pavel Emelyanov
Acked-by: Andrei Vagin <avagin@virtuozzo.com>
Fixes: 0791e3644e5e ("kcmp: add KCMP_EPOLL_TFD mode to compare epoll target files")
On Sun, Sep 17, 2017 at 07:58:38PM +0300, Cyrill Gorcunov wrote:
> The else branch been leftover and escaped the source
> code refresh. Not a problem but better clean it up.
>
> Reported-by: Eugene Syromiatnikov <esyr@redhat.com>
> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
> CC: Andrey Vagin <avagin@openvz.org>
> CC: Andrew Morton <akpm@linuxfoundation.org>
> CC: Pavel Emelyanov <xemul@virtuozzo.com>
> ---
> kernel/kcmp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-ml.git/kernel/kcmp.c
> ===================================================================
> --- linux-ml.git.orig/kernel/kcmp.c
> +++ linux-ml.git/kernel/kcmp.c
> @@ -131,7 +131,7 @@ static int kcmp_epoll_target(struct task
> if (filp_epoll) {
> filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff);
> fput(filp_epoll);
> - } else
> + }
>
> if (IS_ERR(filp_tgt))
> return PTR_ERR(filp_tgt);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-18 17:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-17 16:58 [PATCH] kcmp: Drop branch leftover typo Cyrill Gorcunov
2017-09-18 17:54 ` Andrei Vagin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).