lkml.org 
[lkml]   [2023]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectmm/memfd.c:271:1: sparse: sparse: Using plain integer as NULL pointer
Hi Thomas,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 21e80f3841c01aeaf32d7aee7bbc87b3db1aa0c6
commit: 626e98cb0366e66bdc2088918aecabee1fc6c4b2 mm: make MEMFD_CREATE into a selectable config option
date: 3 months ago
config: s390-randconfig-r133-20231102 (https://download.01.org/0day-ci/archive/20231103/202311030146.4SJnQUwE-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231103/202311030146.4SJnQUwE-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311030146.4SJnQUwE-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> mm/memfd.c:271:1: sparse: sparse: Using plain integer as NULL pointer
>> mm/memfd.c:271:1: sparse: sparse: Using plain integer as NULL pointer

vim +271 mm/memfd.c

5d752600a8c373 Mike Kravetz 2018-06-07 270
5d752600a8c373 Mike Kravetz 2018-06-07 @271 SYSCALL_DEFINE2(memfd_create,

:::::: The code at line 271 was first introduced by commit
:::::: 5d752600a8c373382264392f5b573b2fc9c0e8ea mm: restructure memfd code

:::::: TO: Mike Kravetz <mike.kravetz@oracle.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

\
 
 \ /
  Last update: 2023-11-02 18:19    [W:0.029 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site