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

From: Mark Brown <[email-masked]>
Date: Mon, 2 Feb 2026 14:46:13 +0000

Hi all,

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

/tmp/next/build/security/apparmor/label.c: In function 'aa_label_match':
/tmp/next/build/security/apparmor/label.c:1406:20: error: unused variable 'tmp' [-Werror=unused-variable]
 1406 |         aa_state_t tmp = label_compound_match(profile, rules, label, state,
      |                    ^~~
cc1: all warnings being treated as errors

Caused by commit

  796c146fa6c82 (apparmor: split xxx_in_ns into its two separate semantic use cases)

I have used the version from 20260130 instead.