lkml.org 
[lkml]   [2015]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] ppdev: add support for compat ioctl
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
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2015-12-09 08:01    [W:0.040 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site