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]
Date:   Wed, 14 Jun 2017 13:34:19 +0100
From:   Catalin Marinas <catalin.marinas@....com>
To:     Olav Haugan <ohaugan@...eaurora.org>
Cc:     will.deacon@....com, robin.murphy@....com,
        linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2] arm64/dma-mapping: Remove extraneous null-pointer
 checks

On Tue, Jun 13, 2017 at 01:56:14PM -0700, Olav Haugan wrote:
> The current null-pointer check in __dma_alloc_coherent and
> __dma_free_coherent is not needed anymore since the
> __dma_alloc/__dma_free functions won't be called if !dev (dummy ops will
> be called instead).
> 
> Signed-off-by: Olav Haugan <ohaugan@...eaurora.org>
> ---
>  arch/arm64/include/asm/dma-mapping.h | 2 --
>  arch/arm64/mm/dma-mapping.c          | 9 ---------
>  2 files changed, 11 deletions(-)

Thanks.

Reviewed-by: Catalin Marinas <catalin.marinas@....com>

Will should pick this up for 4.13

-- 
Catalin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ