All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android-5.4 1/6] include/uapi/linux/incrementalfs.h:21:28: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '357661101641' to '1178816073'
@ 2020-01-31  6:57 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-31  6:57 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://android.googlesource.com/kernel/common android-5.4
head:   383f53ee186a22c3d04cc6809e3b5e13bc2b571d
commit: 1be052b20ba04b635cf87bcff80de5314697953e [1/6] ANDROID: Initial commit of Incremental FS
config: nds32-allyesconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 1be052b20ba04b635cf87bcff80de5314697953e
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=nds32 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   fs/incfs/vfs.c: In function 'ioctl_create_file':
   fs/incfs/vfs.c:1324:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    1324 |    (struct incfs_file_signature_info __user *)
         |    ^
   In file included from fs/incfs/vfs.c:19:
   fs/incfs/vfs.c: In function 'incfs_mount_fs':
>> include/uapi/linux/incrementalfs.h:21:28: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '357661101641' to '1178816073' [-Woverflow]
      21 | #define INCFS_MAGIC_NUMBER (0x5346434e49ul)
         |                            ^
   fs/incfs/vfs.c:2076:16: note: in expansion of macro 'INCFS_MAGIC_NUMBER'
    2076 |  sb->s_magic = INCFS_MAGIC_NUMBER;
         |                ^~~~~~~~~~~~~~~~~~
--
   fs//incfs/vfs.c: In function 'ioctl_create_file':
   fs//incfs/vfs.c:1324:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    1324 |    (struct incfs_file_signature_info __user *)
         |    ^
   In file included from fs//incfs/vfs.c:19:
   fs//incfs/vfs.c: In function 'incfs_mount_fs':
>> include/uapi/linux/incrementalfs.h:21:28: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '357661101641' to '1178816073' [-Woverflow]
      21 | #define INCFS_MAGIC_NUMBER (0x5346434e49ul)
         |                            ^
   fs//incfs/vfs.c:2076:16: note: in expansion of macro 'INCFS_MAGIC_NUMBER'
    2076 |  sb->s_magic = INCFS_MAGIC_NUMBER;
         |                ^~~~~~~~~~~~~~~~~~

vim +21 include/uapi/linux/incrementalfs.h

    18	
    19	/* ===== constants ===== */
    20	#define INCFS_NAME "incremental-fs"
  > 21	#define INCFS_MAGIC_NUMBER (0x5346434e49ul)
    22	#define INCFS_DATA_FILE_BLOCK_SIZE 4096
    23	#define INCFS_HEADER_VER 1
    24	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 53523 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-31  6:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-31  6:57 [android-common:android-5.4 1/6] include/uapi/linux/incrementalfs.h:21:28: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '357661101641' to '1178816073' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.