Skip to contentSkip to conversation

fs/fuse/virtio_fs.c:775:58: error: incompatible type for argument 4 of 'dax_direct_access'

PATCH Dan Williams 1 participant 1 message May 13, 2022 1 message not in the archive libnvdimm: non-volatile memory device

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

[ fix the nvdimm mailing list address ]

Quoted 18 lines · kernel test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git libnvdimm-for-next
head:   866f841d312b95a3a0b2de104e8d9c02006e7953
commit: 4676339a70746434e1acb678ffaea164d24dfc9c [8/11] dax: introduce DAX_RECOVERY_WRITE dax access mode
config: x86_64-randconfig-a011 (https://download.01.org/0day-ci/archive/20220513/202205132332.jwmddrYX-lkp(a)intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git/commit/?id=4676339a70746434e1acb678ffaea164d24dfc9c
        git remote add nvdimm https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git
        git fetch --no-tags nvdimm libnvdimm-for-next
        git checkout 4676339a70746434e1acb678ffaea164d24dfc9c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/

If you fix the issue, kindly add following tag as appropriate

Quoted 8 lines

All errors (new ones prefixed by >>):

fs/fuse/virtio_fs.c: In function 'virtio_fs_zero_page_range':

Quoted 1 line
Quoted 1 line

fs/fuse/virtio_fs.c:775:58: error: incompatible type for argument 4 of 'dax_direct_access'

     775 |         rc = dax_direct_access(dax_dev, pgoff, nr_pages, &kaddr, NULL);
         |                                                          ^~~~~~
         |                                                          |
         |                                                          void **

Jane? Looks like we all missed this conversion during the review. Can you send an incremental fixup? For now I have re-wound the branch that feeds into -next to drop this commit.