linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the vfs-brauner tree
@ 2024-12-11  3:37 Stephen Rothwell
  2024-12-19  6:31 ` Stephen Rothwell
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2024-12-11  3:37 UTC (permalink / raw)
  To: Christian Brauner
  Cc: Jeff Layton, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the vfs-brauner tree, today's linux-next build (powerpc
allyesconfig) produced these warnings:

samples/vfs/mountinfo.c: In function 'show_propagation':
samples/vfs/mountinfo.c:104:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  104 |                 printf(" shared:%llu", sm->mnt_peer_group);
      |                                 ~~~^   ~~~~~~~~~~~~~~~~~~
      |                                    |     |
      |                                    |     __u64 {aka long unsigned int}
      |                                    long long unsigned int
      |                                 %lu
samples/vfs/mountinfo.c:106:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  106 |                 printf(" master:%llu", sm->mnt_master);
      |                                 ~~~^   ~~~~~~~~~~~~~~
      |                                    |     |
      |                                    |     __u64 {aka long unsigned int}
      |                                    long long unsigned int
      |                                 %lu
samples/vfs/mountinfo.c:108:52: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  108 |                         printf(" propagate_from:%llu", sm->propagate_from);
      |                                                 ~~~^   ~~~~~~~~~~~~~~~~~~
      |                                                    |     |
      |                                                    |     __u64 {aka long unsigned int}
      |                                                    long long unsigned int
      |                                                 %lu
samples/vfs/mountinfo.c: In function 'dump_mountinfo':
samples/vfs/mountinfo.c:144:42: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  144 |                 printf("0x%lx 0x%lx 0x%llx ", mnt_ns_id, mnt_id, buf->mnt_parent_id);
      |                                       ~~~^                       ~~~~~~~~~~~~~~~~~~
      |                                          |                          |
      |                                          long long unsigned int     __u64 {aka long unsigned int}
      |                                       %lx

Introduced by commits

  0c8f746452aa ("samples: add a mountinfo program to demonstrate statmount()/listmount()")
  ee8c840a4a35 ("samples: fix missing nodiratime option and handle propagate_from correctly")

I am not sure why these warnings only turned up today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warnings after merge of the vfs-brauner tree
@ 2025-07-17  7:36 Stephen Rothwell
  2025-07-22 10:24 ` Jann Horn
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2025-07-17  7:36 UTC (permalink / raw)
  To: Christian Brauner
  Cc: Jann Horn, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the vfs-brauner tree, today's linux-next build (htmldocs)
produced these warnings:

fs/eventpoll.c:2197: warning: Function parameter or struct member 'ep' not described in 'ep_get_upwards_depth_proc'
fs/eventpoll.c:2197: warning: Function parameter or struct member 'depth' not described in 'ep_get_upwards_depth_proc'

Introduced by commit

  f2e467a48287 ("eventpoll: Fix semi-unbounded recursion")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warnings after merge of the vfs-brauner tree
@ 2025-03-05 10:07 Stephen Rothwell
  2025-03-05 10:55 ` David Disseldorp
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2025-03-05 10:07 UTC (permalink / raw)
  To: Christian Brauner
  Cc: David Disseldorp, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the vfs-brauner tree, today's linux-next build (powerpc
allyesconfig) produced these warnings:

WARNING: modpost: vmlinux: section mismatch in reference: initramfs_test_cases+0x0 (section: .data) -> initramfs_test_extract (section: .init.text)
WARNING: modpost: vmlinux: section mismatch in reference: initramfs_test_cases+0x30 (section: .data) -> initramfs_test_fname_overrun (section: .init.text)
WARNING: modpost: vmlinux: section mismatch in reference: initramfs_test_cases+0x60 (section: .data) -> initramfs_test_data (section: .init.text)
WARNING: modpost: vmlinux: section mismatch in reference: initramfs_test_cases+0x90 (section: .data) -> initramfs_test_csum (section: .init.text)
WARNING: modpost: vmlinux: section mismatch in reference: initramfs_test_cases+0xc0 (section: .data) -> initramfs_test_hardlink (section: .init.text)
WARNING: modpost: vmlinux: section mismatch in reference: initramfs_test_cases+0xf0 (section: .data) -> initramfs_test_many (section: .init.text)

Introduced by commit

  b6736cfccb58 ("initramfs_test: kunit tests for initramfs unpacking")

Can __refdata (or __refconst) be used on initramfs_test_cases?

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warnings after merge of the vfs-brauner tree
@ 2024-12-13  4:27 Stephen Rothwell
  2024-12-19  6:32 ` Stephen Rothwell
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2024-12-13  4:27 UTC (permalink / raw)
  To: Christian Brauner; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the vfs-brauner tree, today's linux-next build (powerpc
allyesconfig) produced these warnings:

samples/vfs/test-list-all-mounts.c: In function 'main':
samples/vfs/test-list-all-mounts.c:175:58: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  175 |         printf("Listing %u mounts for mount namespace %llu\n",
      |                                                       ~~~^
      |                                                          |
      |                                                          long long unsigned int
      |                                                       %lu
  176 |                info.nr_mounts, info.mnt_ns_id);
      |                                ~~~~~~~~~~~~~~             
      |                                    |
      |                                    __u64 {aka long unsigned int}
samples/vfs/test-list-all-mounts.c:186:83: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  186 |                         printf("Finished listing %u mounts for mount namespace %llu\n\n",
      |                                                                                ~~~^
      |                                                                                   |
      |                                                                                   long long unsigned int
      |                                                                                %lu
  187 |                                info.nr_mounts, info.mnt_ns_id);
      |                                                ~~~~~~~~~~~~~~                      
      |                                                    |
      |                                                    __u64 {aka long unsigned int}
samples/vfs/test-list-all-mounts.c:199:74: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  199 |                         printf("Listing %u mounts for mount namespace %llu\n",
      |                                                                       ~~~^
      |                                                                          |
      |                                                                          long long unsigned int
      |                                                                       %lu
  200 |                                info.nr_mounts, info.mnt_ns_id);
      |                                                ~~~~~~~~~~~~~~             
      |                                                    |
      |                                                    __u64 {aka long unsigned int}
samples/vfs/test-list-all-mounts.c:218:64: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  218 |                                 printf("Failed to statmount(%llu) in mount namespace(%llu)\n",
      |                                                             ~~~^
      |                                                                |
      |                                                                long long unsigned int
      |                                                             %lu
  219 |                                        last_mnt_id, info.mnt_ns_id);
      |                                        ~~~~~~~~~~~              
      |                                        |
      |                                        __u64 {aka long unsigned int}
samples/vfs/test-list-all-mounts.c:218:89: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  218 |                                 printf("Failed to statmount(%llu) in mount namespace(%llu)\n",
      |                                                                                      ~~~^
      |                                                                                         |
      |                                                                                         long long unsigned int
      |                                                                                      %lu
  219 |                                        last_mnt_id, info.mnt_ns_id);
      |                                                     ~~~~~~~~~~~~~~                       
      |                                                         |
      |                                                         __u64 {aka long unsigned int}
samples/vfs/test-list-all-mounts.c:223:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  223 |                         printf("mnt_id:\t\t%llu\nmnt_parent_id:\t%llu\nfs_type:\t%s\nmnt_root:\t%s\nmnt_point:\t%s\nmnt_opts:\t%s\n\n",
      |                                            ~~~^
      |                                               |
      |                                               long long unsigned int
      |                                            %lu
  224 |                                stmnt->mnt_id,
      |                                ~~~~~~~~~~~~~   
      |                                     |
      |                                     __u64 {aka long unsigned int}
samples/vfs/test-list-all-mounts.c:223:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  223 |                         printf("mnt_id:\t\t%llu\nmnt_parent_id:\t%llu\nfs_type:\t%s\nmnt_root:\t%s\nmnt_point:\t%s\nmnt_opts:\t%s\n\n",
      |                                                                  ~~~^
      |                                                                     |
      |                                                                     long long unsigned int
      |                                                                  %lu
  224 |                                stmnt->mnt_id,
  225 |                                stmnt->mnt_parent_id,
      |                                ~~~~~~~~~~~~~~~~~~~~                  
      |                                     |
      |                                     __u64 {aka long unsigned int}

Introduced by commit

  7b1da09dc088 ("samples: add test-list-all-mounts")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warnings after merge of the vfs-brauner tree
@ 2024-10-09  6:29 Stephen Rothwell
  0 siblings, 0 replies; 16+ messages in thread
From: Stephen Rothwell @ 2024-10-09  6:29 UTC (permalink / raw)
  To: Christian Brauner; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the vfs-brauner tree, today's linux-next build (htmldocs)
produced these warnings:

include/linux/fs.h:1071: warning: Function parameter or struct member 'f_ref' not described in 'file'
include/linux/fs.h:1071: warning: Excess struct member 'f_count' description in 'file'

Introduced by commit

  3488e37e1059 ("fs: port files to file_ref")

-- 
Cheers,
Stephen Rothwell

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

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

end of thread, other threads:[~2025-07-22 10:24 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-11  3:37 linux-next: build warnings after merge of the vfs-brauner tree Stephen Rothwell
2024-12-19  6:31 ` Stephen Rothwell
2024-12-19 12:40   ` Jeff Layton
2024-12-19 20:36     ` Stephen Rothwell
2025-01-06 13:50       ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2025-07-17  7:36 Stephen Rothwell
2025-07-22 10:24 ` Jann Horn
2025-03-05 10:07 Stephen Rothwell
2025-03-05 10:55 ` David Disseldorp
2024-12-13  4:27 Stephen Rothwell
2024-12-19  6:32 ` Stephen Rothwell
2025-01-14  5:48   ` Stephen Rothwell
2025-01-20  8:25     ` Stephen Rothwell
2025-01-20 12:15       ` Christian Brauner
2025-01-20 20:55         ` Stephen Rothwell
2024-10-09  6:29 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).