All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mm: do not export ioremap_page_range symbol for external module
@ 2017-01-22 12:58 ` zhongjiang
  0 siblings, 0 replies; 10+ messages in thread
From: zhongjiang @ 2017-01-22 12:58 UTC (permalink / raw)
  To: akpm, minchan, mhocko; +Cc: linux-mm, linux-kernel

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-01-23 11:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-22 12:58 [PATCH] mm: do not export ioremap_page_range symbol for external module zhongjiang
2017-01-22 12:58 ` zhongjiang
2017-01-22 22:25 ` John Hubbard
2017-01-22 22:25   ` John Hubbard
2017-01-23  1:14 ` zhong jiang
2017-01-23  1:14   ` zhong jiang
2017-01-23  1:30   ` John Hubbard
2017-01-23  1:30     ` John Hubbard
2017-01-23 11:52     ` zhong jiang
2017-01-23 11:52       ` zhong jiang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.