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

From: Stephen Rothwell <[email-masked]>
Date: Wed, 7 Jun 2023 13:52:29 +1000

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:190:78: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  190 |                                 "Failed to update the ruleset with port \"%lld\": %s\n",
      |                                                                           ~~~^
      |                                                                              |
      |                                                                              long long int
      |                                                                           %ld
  191 |                                 net_service.port, strerror(errno));
      |                                 ~~~~~~~~~~~~~~~~                              
      |                                            |
      |                                            __u64 {aka long unsigned int}

Introduced by commit

  1c5befb13501 ("samples/landlock: Add network demo")

-- 
Cheers,
Stephen Rothwell