From: kbuild test robot <lkp@intel.com>
To: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-nfs@vger.kernel.org
Subject: [nfs:testing 36/54] fs/nfs/direct.c:308:33: error: no member named 'commits' in 'struct pnfs_ds_commit_info'
Date: Wed, 25 Mar 2020 23:15:41 +0800 [thread overview]
Message-ID: <202003252337.VpntqsJ8%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1881 bytes --]
tree: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git testing
head: 21b71e249eabc75f6db7fb1ff83ce9fc34b09828
commit: cd21157690af4193233d71828cac656f316a35f9 [36/54] NFSv4/pnfs: Support a list of commit arrays in struct pnfs_ds_commit_info
config: x86_64-defconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2093fdd429d52348e08969180ac6b1e705fc4ff6)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout cd21157690af4193233d71828cac656f316a35f9
# save the attached .config to linux build tree
COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> fs/nfs/direct.c:308:33: error: no member named 'commits' in 'struct pnfs_ds_commit_info'
INIT_LIST_HEAD(&dreq->ds_cinfo.commits);
~~~~~~~~~~~~~~ ^
1 error generated.
vim +308 fs/nfs/direct.c
295
296 static inline struct nfs_direct_req *nfs_direct_req_alloc(void)
297 {
298 struct nfs_direct_req *dreq;
299
300 dreq = kmem_cache_zalloc(nfs_direct_cachep, GFP_KERNEL);
301 if (!dreq)
302 return NULL;
303
304 kref_init(&dreq->kref);
305 kref_get(&dreq->kref);
306 init_completion(&dreq->completion);
307 INIT_LIST_HEAD(&dreq->mds_cinfo.list);
> 308 INIT_LIST_HEAD(&dreq->ds_cinfo.commits);
309 dreq->verf.committed = NFS_INVALID_STABLE_HOW; /* not set yet */
310 INIT_WORK(&dreq->work, nfs_direct_write_schedule_work);
311 spin_lock_init(&dreq->lock);
312
313 return dreq;
314 }
315
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29215 bytes --]
reply other threads:[~2020-03-25 15:16 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=202003252337.VpntqsJ8%lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@hammerspace.com \
/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