Hi Prashanth,
[auto build test ERROR on pm/linux-next] [also build test ERROR on v4.4 next-20160115] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Prashanth-Prakash/acpi-cppc-optimiz... base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next config: i386-allmodconfig (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386
All errors (new ones prefixed by >>):
drivers/mailbox/pcc.c: In function 'read_register':
drivers/mailbox/pcc.c:195:10: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration]
*val = readq(vaddr); ^ drivers/mailbox/pcc.c: In function 'write_register':
drivers/mailbox/pcc.c:221:3: error: implicit declaration of function 'writeq' [-Werror=implicit-function-declaration]
writeq(val, vaddr); ^ cc1: some warnings being treated as errors
vim +/readq +195 drivers/mailbox/pcc.c
189 *val = readw(vaddr); 190 break; 191 case 32: 192 *val = readl(vaddr); 193 break; 194 case 64:
195 *val = readq(vaddr);
196 break; 197 default: 198 pr_debug("Error: Cannot read register of %u bit width", 199 bit_width); 200 ret_val = -EFAULT; 201 break; 202 } 203 return ret_val; 204 } 205 206 static int write_register(void *vaddr, u64 val, unsigned int bit_width) 207 { 208 int ret_val = 0; 209 210 switch (bit_width) { 211 case 8: 212 writeb(val, vaddr); 213 break; 214 case 16: 215 writew(val, vaddr); 216 break; 217 case 32: 218 writel(val, vaddr); 219 break; 220 case 64:
221 writeq(val, vaddr);
222 break; 223 default: 224 pr_debug("Error: Cannot write register of %u bit width",
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation