mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Wilson Felipe Pereira <wfelipe@google.com>,
	Christian Brauner <brauner@kernel.org>, Tejun Heo <tj@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build failure after merge of the cgroup tree
Date: Thu, 3 Dec 2026 18:13:55 +0000	[thread overview]
Message-ID: <axGxY7Wv_pyYykjS@sirena.org.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 2451 bytes --]

Hi all,

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

  CC       test_memcontrol
test_memcontrol.c: In function 'test_memcg_oom_group_spawn':
test_memcontrol.c:1981:13: error: implicit declaration
of function 'cg_read_key_long'; did you mean
'cg_read_key_s64'? [-Wimplicit-function-declaration]
 1981 |         if (cg_read_key_long(outside, "memory.events", "oom_kill ") != 0)
      |             ^~~~~~~~~~~~~~~~ cg_read_key_s64

Caused by commit

   79922ba71c838 (selftests/cgroup: convert cg_read_*long*() helpers to s64)

interacting with commit

   679e720280335 (selftests/cgroup: test the oom killer with a vfork() child)

from the vfs-brauner tree.  I have applied the fixup below which I can
carry as needed:

From dd5d80673fc48535e672ce92d9a5d1c3659d98f3 Mon Sep 17 00:00:00 2001
From: Mark Brown <broonie@kernel.org>
Date: Thu, 3 Dec 2026 18:06:01 +0000
Subject: [PATCH] selftests: cgroup: Fix up merge due to cg_read_key_s64()
 transistion

Fix up

  CC       test_memcontrol
test_memcontrol.c: In function 'test_memcg_oom_group_spawn':
test_memcontrol.c:1981:13: error: implicit declaration
of function 'cg_read_key_long'; did you mean
'cg_read_key_s64'? [-Wimplicit-function-declaration]
 1981 |         if (cg_read_key_long(outside, "memory.events", "oom_kill ") != 0)
      |             ^~~~~~~~~~~~~~~~ cg_read_key_s64

Caused by commit

   79922ba71c838 (selftests/cgroup: convert cg_read_*long*() helpers to s64)

interacting with commit

   679e720280335 (selftests/cgroup: test the oom killer with a vfork() child)

from the vfs-brauner tree.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 tools/testing/selftests/cgroup/test_memcontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/cgroup/test_memcontrol.c b/tools/testing/selftests/cgroup/test_memcontrol.c
index 07bb94b375e73..4f2c354abbb79 100644
--- a/tools/testing/selftests/cgroup/test_memcontrol.c
+++ b/tools/testing/selftests/cgroup/test_memcontrol.c
@@ -1978,7 +1978,7 @@ static int test_memcg_oom_group_spawn(const char *root)
 		goto cleanup;
 
 	/* The kill of the child is counted where the child was. */
-	if (cg_read_key_long(outside, "memory.events", "oom_kill ") != 0)
+	if (cg_read_key_s64(outside, "memory.events", "oom_kill ") != 0)
 		goto cleanup;
 
 	ret = KSFT_PASS;
-- 
2.47.3


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2026-12-03 18:14 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 18:13 Mark Brown [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-25  5:03 Stephen Rothwell
2025-08-25 18:18 ` Tejun Heo
2024-07-12  6:43 Stephen Rothwell
2024-07-12  6:51 ` Stephen Rothwell
2024-07-12 14:48   ` Jonathan Corbet
2024-07-12 16:44     ` Tejun Heo
2024-07-12 16:50       ` Tejun Heo
2023-12-07  3:38 Stephen Rothwell
2023-12-07  4:18 ` Waiman Long
2023-07-17  1:34 Stephen Rothwell
2023-07-17  6:45 ` Miaohe Lin
2022-10-31  2:23 Stephen Rothwell
2022-10-31 17:52 ` Tejun Heo
2022-09-12  6:18 Stephen Rothwell
2022-09-12  7:38 ` Peter Zijlstra
2022-09-12 18:44   ` Tejun Heo
2022-09-12 22:16     ` Tejun Heo
2022-09-15 10:46       ` Peter Zijlstra
2022-10-10 20:57 ` Stephen Rothwell
2022-10-10 20:59   ` Tejun Heo
2022-08-29  3:29 Stephen Rothwell
2021-05-11  0:51 Stephen Rothwell
2021-05-11  1:10 ` Roman Gushchin
2021-05-11  1:31   ` Tejun Heo
2021-04-22  6:31 Stephen Rothwell
2015-09-25  3:26 Stephen Rothwell
2014-02-26  6:46 Stephen Rothwell
2014-02-26 13:44 ` Tejun Heo
2013-04-29  4:04 Stephen Rothwell
2013-04-29 22:55 ` Tejun Heo
2013-04-30  1:51   ` Benjamin Herrenschmidt
2012-09-14  3:17 Stephen Rothwell
2012-09-14  6:56 ` Daniel Wagner
2012-09-14 17:00   ` Tejun Heo
2012-09-14 18:32     ` Sedat Dilek
2012-09-14 18:34       ` Tejun Heo
2012-09-15  7:55         ` Sedat Dilek
2011-11-25  3:50 Stephen Rothwell
2011-11-27 19:33 ` Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=axGxY7Wv_pyYykjS@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=brauner@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=tj@kernel.org \
    --cc=wfelipe@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®