Subject: linux-next: build failure after merge of the cgroup tree

From: Stephen Rothwell <[email-masked]>
Date: Mon, 29 Aug 2022 13:29:51 +1000

Hi all,

After merging the cgroup tree, today's linux-next build (x86_64
allmodconfig) failed like this:

mm/memcontrol.c: In function 'mem_cgroup_get_from_ino':
mm/memcontrol.c:5114:24: error: returning 'long int' from a function with return type 'struct mem_cgroup *' makes pointer from integer without a cast [-Werror=int-conversion]
 5114 |                 return PTR_ERR(cgrp);
      |                        ^~~~~~~~~~~~~

Caused by commit

  fa7e439cf90b ("cgroup: Homogenize cgroup_get_from_id() return value")

I have used the cgroup tree from next-20220826 for today.

-- 
Cheers,
Stephen Rothwell