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

From: Mark Brown

Date: Tue Jun 02 2026 - 12:17:07 EST


Hi all,

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

/tmp/next/build/security/hornet/hornet_lsm.c:212:36: error: too many arguments to function call, expected 1, have 3
212 | if (map->ops->map_get_hash(map, SHA256_DIGEST_SIZE, hash))
| ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/include/crypto/sha2.h:14:33: note: expanded from macro 'SHA256_DIGEST_SIZE'
14 | #define SHA256_DIGEST_SIZE 32
| ^


Caused by commit

c62310df81899 (lsm: introduce the Hornet LSM)

interacting with

c48c3a7e7d5be (bpf: Drop redundant hash_buf from map_get_hash operation)

from the bpf-next tree. I have reverted the latter commit, the new LSM
means that the assumption in the changelog that there is only one caller
isn't true and it seems like the most straightforward approach.

Attachment: signature.asc
Description: PGP signature