linux-next: build warning after merge of the landlock tree

From: Stephen Rothwell
Date: Mon Oct 02 2023 - 23:27:50 EST


Hi all,

After merging the landlock tree, today's linux-next build (powerpc
allyesconfig) produced this warning:

samples/landlock/sandboxer.c: In function 'populate_ruleset_net':
samples/landlock/sandboxer.c:170:78: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
170 | "Failed to update the ruleset with port \"%llu\": %s\n",
| ~~~^
| |
| long long unsigned int
| %lu
171 | net_port.port, strerror(errno));
| ~~~~~~~~~~~~~
| |
| __u64 {aka long unsigned int}

Introduced by commit

24889e7a2079 ("samples/landlock: Add network demo")

--
Cheers,
Stephen Rothwell

Attachment: pgpFoWDLE8ziv.pgp
Description: OpenPGP digital signature