[linux-next:master 67/7280] fs/mount_notify.c:130:1: sparse: sparse: Using plain integer as NULL pointer

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   95065cb54210eba86bed10cb2118041524d54573
commit: 4cd92d064cb0be72e56913d5213a3f9782d80e76 [67/7280] watch_queue: Implement mount topology and attribute change notifications
config: s390-randconfig-s032-20201123 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-134-gb59dbdaf-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=4cd92d064cb0be72e56913d5213a3f9782d80e76
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 4cd92d064cb0be72e56913d5213a3f9782d80e76
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>


"sparse warnings: (new ones prefixed by >>)"
>> fs/mount_notify.c:130:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/mount_notify.c:130:1: sparse: sparse: Using plain integer as NULL pointer
   fs/mount_notify.c:31:9: sparse: sparse: context imbalance in 'post_mount_notification' - different lock contexts for basic block

vim +130 fs/mount_notify.c

   121	
   122	/**
   123	 * sys_watch_mount - Watch for mount topology/attribute changes
   124	 * @dfd: Base directory to pathwalk from or fd referring to mount.
   125	 * @filename: Path to mount to place the watch upon
   126	 * @at_flags: Pathwalk control flags
   127	 * @watch_fd: The watch queue to send notifications to.
   128	 * @watch_id: The watch ID to be placed in the notification (-1 to remove watch)
   129	 */
 > 130	SYSCALL_DEFINE5(watch_mount,

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux