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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200318073622.GB17919@linux.ibm.com>
Date:   Wed, 18 Mar 2020 09:36:22 +0200
From:   Mike Rapoport <rppt@...ux.ibm.com>
To:     Wang Wenhu <wenhu.wang@...o.com>
Cc:     Guo Ren <guoren@...nel.org>, Will Deacon <will@...nel.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Andrew Morton <akpm@...ux-foundation.org>,
        linux-csky@...r.kernel.org, linux-kernel@...r.kernel.org,
        kernel@...o.com, trivial@...nel.org
Subject: Re: [PATCH] csky: delete redundant micro io_remap_pfn_range

On Tue, Mar 17, 2020 at 09:47:01PM -0700, Wang Wenhu wrote:
> Same definition exists in "include/asm-generic/pgtable.h",
> which is included just below the lines to be deleted.
> 
> #ifndef io_remap_pfn_range
> #define io_remap_pfn_range remap_pfn_range
> #endif
> 
> Signed-off-by: Wang Wenhu <wenhu.wang@...o.com>

Acked-by: Mike Rapoport <rppt@...ux.ibm.com>

> ---
>  arch/csky/include/asm/pgtable.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/arch/csky/include/asm/pgtable.h b/arch/csky/include/asm/pgtable.h
> index 9b7764cb7645..bde812a785c8 100644
> --- a/arch/csky/include/asm/pgtable.h
> +++ b/arch/csky/include/asm/pgtable.h
> @@ -306,9 +306,6 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long address,
>  /* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
>  #define kern_addr_valid(addr)	(1)
>  
> -#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \
> -	remap_pfn_range(vma, vaddr, pfn, size, prot)
> -
>  #include <asm-generic/pgtable.h>
>  
>  #endif /* __ASM_CSKY_PGTABLE_H */
> -- 
> 2.17.1
> 

-- 
Sincerely yours,
Mike.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ