* [nfs:testing 36/54] fs/nfs/direct.c:308:33: error: no member named 'commits' in 'struct pnfs_ds_commit_info'
@ 2020-03-25 15:15 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-25 15:15 UTC (permalink / raw)
To: Trond Myklebust; +Cc: kbuild-all, clang-built-linux, linux-nfs
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-25 15:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-25 15:15 [nfs:testing 36/54] fs/nfs/direct.c:308:33: error: no member named 'commits' in 'struct pnfs_ds_commit_info' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).