Re: [PATCH 2/2] ppdev: add support for compat ioctl

From: kbuild test robot
Date: Wed Dec 09 2015 - 01:40:38 EST


Hi Bamvor,

[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on v4.4-rc4 next-20151208]

url: https://github.com/0day-ci/linux/commits/Bamvor-Jian-Zhang/Convert-ppdev-to-y2038-safe/20151209-141616
config: x86_64-randconfig-n0-12091355 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/char/ppdev.c: In function 'pp_compat_ioctl':
>> drivers/char/ppdev.c:677:44: error: implicit declaration of function 'compat_ptr' [-Werror=implicit-function-declaration]
return pp_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
^
cc1: some warnings being treated as errors

vim +/compat_ptr +677 drivers/char/ppdev.c

671 }
672
673 #ifdef CONFIG_COMPAT
674 static long pp_compat_ioctl(struct file *file, unsigned int cmd,
675 unsigned long arg)
676 {
> 677 return pp_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
678 }
679 #endif
680

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

Attachment: .config.gz
Description: Binary data