Re: [PATCH] kcmp: Drop branch leftover typo

From: Andrei Vagin
Date: Mon Sep 18 2017 - 13:55:25 EST


Acked-by: Andrei Vagin <avagin@xxxxxxxxxxxxx>

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@xxxxxxxxxx>
> Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
> CC: Andrey Vagin <avagin@xxxxxxxxxx>
> CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxx>
> CC: Pavel Emelyanov <xemul@xxxxxxxxxxxxx>
> ---
> 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);