lkml.org 
[lkml]   [2017]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mm: do not export ioremap_page_range symbol for external module
Date
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);
--
1.8.3.1
\
 
 \ /
  Last update: 2017-01-22 14:02    [W:0.716 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site