projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'spi-fix-v6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
[linux-2.6-microblaze.git]
/
lib
/
test_free_pages.c
diff --git
a/lib/test_free_pages.c
b/lib/test_free_pages.c
index
25ae1ac
..
9ebf6f5
100644
(file)
--- a/
lib/test_free_pages.c
+++ b/
lib/test_free_pages.c
@@
-17,7
+17,7
@@
static void test_free_pages(gfp_t gfp)
for (i = 0; i < 1000 * 1000; i++) {
unsigned long addr = __get_free_pages(gfp, 3);
- struct page *page = virt_to_page(addr);
+ struct page *page = virt_to_page(
(void *)
addr);
/* Simulate page cache getting a speculative reference */
get_page(page);