public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alexander Aring <aahringo@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC v6.19] dlm: introduce dlmpfs
Date: Mon, 16 Feb 2026 04:07:38 +0800	[thread overview]
Message-ID: <202602160339.si8Mlefw-lkp@intel.com> (raw)
In-Reply-To: <20260213180014.614646-1-aahringo@redhat.com>

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

           reply	other threads:[~2026-02-15 20:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20260213180014.614646-1-aahringo@redhat.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202602160339.si8Mlefw-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aahringo@redhat.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox