Re: [PATCH 04/13] libnvdimm, nfit: move flush hint mapping to dimm driver

From: kbuild test robot
Date: Sat Jun 04 2016 - 17:42:37 EST


Hi,

[auto build test ERROR on v4.7-rc1]
[also build test ERROR on next-20160603]
[cannot apply to linux-nvdimm/libnvdimm-for-next tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Dan-Williams/deprecate-pcommit/20160605-045935
config: i386-randconfig-s1-201623 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/nvdimm/region_devs.c: In function 'nvdimm_flush':
>> drivers/nvdimm/region_devs.c:826:4: error: implicit declaration of function 'writeq' [-Werror=implicit-function-declaration]
writeq(1, ndd->flush_wpq[0]);
^~~~~~
cc1: some warnings being treated as errors

vim +/writeq +826 drivers/nvdimm/region_devs.c

820 /*
821 * Note, nvdimm_drvdata guaranteed to be live since we
822 * arrange for all associated regions to be disabled
823 * before the dimm is disabled.
824 */
825 if (ndd->flush_wpq[0])
> 826 writeq(1, ndd->flush_wpq[0]);
827 }
828 wmb();
829 }

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data