Hi Ben,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on pm/linux-next]
[also build test ERROR on linus/master linux/master v5.10-rc3 next-20201113]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Ben-Widawsky/CXL-2-0-Support/202...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/03316f5eab47413b046c08f6b977867df...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ben-Widawsky/CXL-2-0-Support/20201111-134547
git checkout 03316f5eab47413b046c08f6b977867dfade36f9
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/cxl/mem.c:8:
drivers/cxl/cxl.h: In function 'cxl_write_status_reg64':
> drivers/cxl/cxl.h:58:3: error: implicit declaration of function
'writeq'; did you mean 'writel'? [-Werror=implicit-function-declaration]
58 | writeq(value, reg_addr + reg); \
| ^~~~~~
drivers/cxl/cxl.h:73:1: note: in expansion of macro 'cxl_reg'
73 | cxl_reg(status)
| ^~~~~~~
drivers/cxl/cxl.h: In function 'cxl_read_status_reg64':
> drivers/cxl/cxl.h:70:10: error: implicit declaration of function
'readq'; did you mean 'readl'? [-Werror=implicit-function-declaration]
70 | return readq(reg_addr + reg); \
| ^~~~~
drivers/cxl/cxl.h:73:1: note: in expansion of macro 'cxl_reg'
73 | cxl_reg(status)
| ^~~~~~~
cc1: some warnings being treated as errors
vim +58 drivers/cxl/cxl.h
46
47 #define cxl_reg(type) \
48 static inline void cxl_write_##type##_reg32(struct cxl_mem *cxlm, \
49 u32 reg, u32 value) \
50 { \
51 void __iomem *reg_addr = READ_ONCE(cxlm->type.regs); \
52 writel(value, reg_addr + reg); \
53 } \
54 static inline void cxl_write_##type##_reg64(struct cxl_mem *cxlm, \
55 u32 reg, u64 value) \
56 { \
57 void __iomem *reg_addr = READ_ONCE(cxlm->type.regs); \
58 writeq(value, reg_addr + reg); \
59 } \
60 static inline u32 cxl_read_##type##_reg32(struct cxl_mem *cxlm, \
61 u32 reg) \
62 { \
63 void __iomem *reg_addr = READ_ONCE(cxlm->type.regs); \
64 return readl(reg_addr + reg); \
65 } \
66 static inline u64 cxl_read_##type##_reg64(struct cxl_mem *cxlm, \
67 u32 reg) \
68 { \
69 void __iomem *reg_addr = READ_ONCE(cxlm->type.regs); \
70 return readq(reg_addr + reg); \
71 }
72
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org