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

From: Stephen Rothwell
Date: Sun Aug 28 2022 - 23:30:46 EST


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

Attachment: pgppLZ6enDYxj.pgp
Description: OpenPGP digital signature