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: <20210511193717.GB1316147@nvidia.com>
Date:   Tue, 11 May 2021 16:37:17 -0300
From:   Jason Gunthorpe <jgg@...dia.com>
To:     Xiaofei Tan <tanxiaofei@...wei.com>
Cc:     leon@...nel.org, liweihang@...wei.com, liangwenpeng@...wei.com,
        shiju.jose@...wei.com, linux-rdma@...r.kernel.org,
        linux-kernel@...r.kernel.org, linuxarm@...neuler.org
Subject: Re: [PATCH] RDMA/ucma: Cleanup to reduce duplicate code

On Thu, May 06, 2021 at 04:51:46PM +0800, Xiaofei Tan wrote:
> The lable "err1" does the same thing as the branch of copy_to_user()
> failed in the function ucma_create_id(). Just jump to the label directly
> to reduce duplicate code.
> 
> Signed-off-by: Xiaofei Tan <tanxiaofei@...wei.com>
> Reviewed-by: Leon Romanovsky <leonro@...dia.com>
> ---
>  drivers/infiniband/core/ucma.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied to for-next, thanks

Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ