All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mike Snitzer <snitzer@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev,
	Chuck Lever <chuck.lever@oracle.com>,
	Jeff Layton <jlayton@kernel.org>
Subject: [cel:direct-io 52/54] fs/nfsd/filecache.c:1069:9: error: implicit declaration of function 'trace_nfsd_file_get_dio_attrs'; did you mean 'trace_nfsd_file_get_dio_attr'?
Date: Sat, 13 Sep 2025 17:17:02 +0800	[thread overview]
Message-ID: <202509131748.GCYDTfYC-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux direct-io
head:   bcd61e34b795f9544846e92d568aae005e20746d
commit: 388ddf4d5d45b5a056034a1d8b54c2c4c8790af8 [52/54] NFSD: filecache: add STATX_DIOALIGN and STATX_DIO_READ_ALIGN support
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20250913/202509131748.GCYDTfYC-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250913/202509131748.GCYDTfYC-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/202509131748.GCYDTfYC-lkp@intel.com/

All errors (new ones prefixed by >>):

   fs/nfsd/filecache.c: In function 'nfsd_file_get_dio_attrs':
>> fs/nfsd/filecache.c:1069:9: error: implicit declaration of function 'trace_nfsd_file_get_dio_attrs'; did you mean 'trace_nfsd_file_get_dio_attr'? [-Wimplicit-function-declaration]
    1069 |         trace_nfsd_file_get_dio_attrs(inode, &stat);
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |         trace_nfsd_file_get_dio_attr


vim +1069 fs/nfsd/filecache.c

  1053	
  1054	static __be32
  1055	nfsd_file_get_dio_attrs(const struct svc_fh *fhp, struct nfsd_file *nf)
  1056	{
  1057		struct inode *inode = file_inode(nf->nf_file);
  1058		struct kstat stat;
  1059		__be32 status;
  1060	
  1061		/* Currently only need to get DIO alignment info for regular files */
  1062		if (!S_ISREG(inode->i_mode))
  1063			return nfs_ok;
  1064	
  1065		status = fh_getattr(fhp, &stat);
  1066		if (status != nfs_ok)
  1067			return status;
  1068	
> 1069		trace_nfsd_file_get_dio_attrs(inode, &stat);
  1070	
  1071		if (stat.result_mask & STATX_DIOALIGN) {
  1072			nf->nf_dio_mem_align = stat.dio_mem_align;
  1073			nf->nf_dio_offset_align = stat.dio_offset_align;
  1074		}
  1075		if (stat.result_mask & STATX_DIO_READ_ALIGN)
  1076			nf->nf_dio_read_offset_align = stat.dio_read_offset_align;
  1077		else
  1078			nf->nf_dio_read_offset_align = nf->nf_dio_offset_align;
  1079	
  1080		return nfs_ok;
  1081	}
  1082	

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

                 reply	other threads:[~2025-09-13  9:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202509131748.GCYDTfYC-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chuck.lever@oracle.com \
    --cc=jlayton@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=snitzer@kernel.org \
    /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 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.