Subject: Re: linux-next: Tree for May 10 (mm/ksm.c)

From: Randy Dunlap <[email-masked]>
Date: Thu, 10 May 2018 09:37:51 -0700

On 05/10/2018 12:28 AM, Stephen Rothwell wrote:
> Hi all,
> Changes since 20180509:

on i386:

../mm/ksm.c: In function 'try_to_merge_one_page':
../mm/ksm.c:1244:4: error: implicit declaration of function 'set_page_stable_node' [-Werror=implicit-function-declaration]
    set_page_stable_node(page, NULL);
    ^
../mm/ksm.c: In function 'stable_tree_search':
../mm/ksm.c:1563:2: error: implicit declaration of function 'page_stable_node' [-Werror=implicit-function-declaration]
  page_node = page_stable_node(page);
  ^
../mm/ksm.c:1563:12: warning: assignment makes pointer from integer without a cast [enabled by default]
  page_node = page_stable_node(page);
            ^
../mm/ksm.c: In function 'cmp_and_merge_page':
../mm/ksm.c:2042:14: warning: assignment makes pointer from integer without a cast [enabled by default]
  stable_node = page_stable_node(page);
              ^
../mm/ksm.c:2080:9: warning: passing argument 2 of 'stable_tree_append' makes pointer from integer without a cast [enabled by default]
         max_page_sharing_bypass);
         ^
../mm/ksm.c:1990:13: note: expected 'struct stable_node *' but argument is of type 'int'
 static void stable_tree_append(struct rmap_item *rmap_item,
             ^
../mm/ksm.c: In function 'rmap_walk_ksm':
../mm/ksm.c:2589:14: warning: assignment makes pointer from integer without a cast [enabled by default]
  stable_node = page_stable_node(page);
              ^
../mm/ksm.c: In function 'ksm_migrate_page':
../mm/ksm.c:2644:14: warning: assignment makes pointer from integer without a cast [enabled by default]
  stable_node = page_stable_node(newpage);
              ^

Full randconfig file is attached.

-- 
~Randy