public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [RFC v6.19] dlm: introduce dlmpfs
       [not found] <20260213180014.614646-1-aahringo@redhat.com>
@ 2026-02-15 20:07 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-02-15 20:07 UTC (permalink / raw)
  To: Alexander Aring; +Cc: llvm, oe-kbuild-all

Hi Alexander,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on v6.19]

url:    https://github.com/intel-lab-lkp/linux/commits/Alexander-Aring/dlm-introduce-dlmpfs/20260214-020248
base:   v6.19
patch link:    https://lore.kernel.org/r/20260213180014.614646-1-aahringo%40redhat.com
patch subject: [RFC v6.19] dlm: introduce dlmpfs
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20260216/202602160339.si8Mlefw-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260216/202602160339.si8Mlefw-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/202602160339.si8Mlefw-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/dlm/dlmpfs/inode.c:47:7: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
           di = kzalloc_obj(*di, GFP_NOFS);
                ^
>> fs/dlm/dlmpfs/inode.c:47:5: error: incompatible integer to pointer conversion assigning to 'struct dlmpfs_inode *' from 'int' [-Wint-conversion]
           di = kzalloc_obj(*di, GFP_NOFS);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
   fs/dlm/dlmpfs/inode.c:441:8: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
           fsi = kzalloc_obj(*fsi, GFP_KERNEL);
                 ^
>> fs/dlm/dlmpfs/inode.c:441:6: error: incompatible integer to pointer conversion assigning to 'struct dlmpfs_fs_info *' from 'int' [-Wint-conversion]
           fsi = kzalloc_obj(*fsi, GFP_KERNEL);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   4 errors generated.
--
>> fs/dlm/dlmpfs/newdlm.c:137:7: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
           lk = kzalloc_obj(*lk, GFP_NOFS);
                ^
>> fs/dlm/dlmpfs/newdlm.c:137:5: error: incompatible integer to pointer conversion assigning to 'struct dlmlk *' from 'int' [-Wint-conversion]
           lk = kzalloc_obj(*lk, GFP_NOFS);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
   fs/dlm/dlmpfs/newdlm.c:216:7: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
           ls = kzalloc_obj(*ls, GFP_NOFS);
                ^
>> fs/dlm/dlmpfs/newdlm.c:216:5: error: incompatible integer to pointer conversion assigning to 'struct dlmls *' from 'int' [-Wint-conversion]
           ls = kzalloc_obj(*ls, GFP_NOFS);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
   4 errors generated.
--
>> fs/dlm/dlmpfs/file.c:23:7: error: call to undeclared function 'kzalloc_obj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
           fp = kzalloc_obj(*fp, GFP_NOFS);
                ^
>> fs/dlm/dlmpfs/file.c:23:5: error: incompatible integer to pointer conversion assigning to 'struct dlmpfs_file *' from 'int' [-Wint-conversion]
           fp = kzalloc_obj(*fp, GFP_NOFS);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
   2 errors generated.


vim +/kzalloc_obj +47 fs/dlm/dlmpfs/inode.c

    42	
    43	static struct inode *dlmpfs_alloc_inode(struct super_block *sb)
    44	{
    45		struct dlmpfs_inode *di;
    46	
  > 47		di = kzalloc_obj(*di, GFP_NOFS);
    48		if (!di)
    49			return NULL;
    50	
    51		inode_init_once(&di->inode);
    52		return &di->inode;
    53	}
    54	

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

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

only message in thread, other threads:[~2026-02-15 20:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260213180014.614646-1-aahringo@redhat.com>
2026-02-15 20:07 ` [RFC v6.19] dlm: introduce dlmpfs kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox