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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

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

samples/vfs/test-fsinfo.c: In function 'dump_fsinfo_generic_statfs':
samples/vfs/test-fsinfo.c:135:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  135 |  printf("\tbsize        : %llu\n", f->f_bsize);
      |                           ~~~^     ~~~~~~~~~~
      |                              |      |
      |                              |      __u64 {aka long unsigned int}
      |                              long long unsigned int
      |                           %lu
samples/vfs/test-fsinfo.c:136:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
  136 |  printf("\tfrsize       : %llu\n", f->f_frsize);
      |                           ~~~^     ~~~~~~~~~~~
      |                              |      |
      |                              |      __u64 {aka long unsigned int}
      |                              long long unsigned int
      |                           %lu

Introduced by commit

  1b3979fc0f0c ("fsinfo: Add fsinfo() syscall to query filesystem information")

-- 
Cheers,
Stephen Rothwell

Attachment: pgpq1fpYVna0O.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux