public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the landlock tree
@ 2023-10-03  3:27 Stephen Rothwell
       [not found] ` <20230920092641.832134-12-konstantin.meskhidze@huawei.com>
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2023-10-03  3:27 UTC (permalink / raw)
  To: Mickaël Salaün
  Cc: Konstantin Meskhidze, Linux Kernel Mailing List,
	Linux Next Mailing List

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

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* linux-next: build warning after merge of the landlock tree
@ 2023-11-17  1:04 Stephen Rothwell
  0 siblings, 0 replies; 8+ messages in thread
From: Stephen Rothwell @ 2023-11-17  1:04 UTC (permalink / raw)
  To: Mickaël Salaün
  Cc: Günther Noack, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

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

security/landlock/ruleset.h:287: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * Returns @access with the synthetic IOCTL group flags enabled if necessary.

Introduced by commit

  f3672f581e95 ("landlock: Add IOCTL access right")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* linux-next: build warning after merge of the landlock tree
@ 2023-06-07  3:52 Stephen Rothwell
  0 siblings, 0 replies; 8+ messages in thread
From: Stephen Rothwell @ 2023-06-07  3:52 UTC (permalink / raw)
  To: Mickaël Salaün
  Cc: Konstantin Meskhidze, Linux Kernel Mailing List,
	Linux Next Mailing List

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

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

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-11-17  1:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-03  3:27 linux-next: build warning after merge of the landlock tree Stephen Rothwell
     [not found] ` <20230920092641.832134-12-konstantin.meskhidze@huawei.com>
2023-10-03 13:15   ` Mickaël Salaün
2023-10-03 13:23     ` Geert Uytterhoeven
2023-10-04 11:01       ` Mickaël Salaün
2023-10-03 13:40     ` Arnd Bergmann
2023-10-04 11:02       ` Mickaël Salaün
  -- strict thread matches above, loose matches on Subject: below --
2023-11-17  1:04 Stephen Rothwell
2023-06-07  3:52 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox