Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1564620

Re: [PATCH] mm: do not export ioremap_page_range symbol for external module

From zhong jiang <zhongjiang@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm: do not export ioremap_page_range symbol for external module
Date 2017-01-23 02:20 +0100
Message-ID <t2BsB-8iC-13@gated-at.bofh.it> (permalink)
References <t2q49-1aU-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2017/1/22 20:58, zhongjiang wrote:
> From: zhong jiang <zhongjiang@huawei.com>
>
> Recently, I find the ioremap_page_range had been abusing. The improper
> address mapping is a issue. it will result in the crash. so, remove
> the symbol. It can be replaced by the ioremap_cache or others symbol.
>
> Signed-off-by: zhong jiang <zhongjiang@huawei.com>
> ---
>  lib/ioremap.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/lib/ioremap.c b/lib/ioremap.c
> index 86c8911..a3e14ce 100644
> --- a/lib/ioremap.c
> +++ b/lib/ioremap.c
> @@ -144,4 +144,3 @@ int ioremap_page_range(unsigned long addr,
>  
>  	return err;
>  }
> -EXPORT_SYMBOL_GPL(ioremap_page_range);
self nack

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] mm: do not export ioremap_page_range symbol for external module zhongjiang <zhongjiang@huawei.com> - 2017-01-22 14:10 +0100
  Re: [PATCH] mm: do not export ioremap_page_range symbol for external  module John Hubbard <jhubbard@nvidia.com> - 2017-01-22 23:30 +0100
  Re: [PATCH] mm: do not export ioremap_page_range symbol for external  module zhong jiang <zhongjiang@huawei.com> - 2017-01-23 02:20 +0100
    Re: [PATCH] mm: do not export ioremap_page_range symbol for external  module John Hubbard <jhubbard@nvidia.com> - 2017-01-23 02:40 +0100
      Re: [PATCH] mm: do not export ioremap_page_range symbol for external  module zhong jiang <zhongjiang@huawei.com> - 2017-01-23 13:00 +0100

csiph-web