Re: [PATCH 2/3] media: dvb_frontend: Add compat_ioctl callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jaedon,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.15-rc2 next-20171204]
[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/Jaedon-Shin/Add-support-compat-in-dvb_frontend-c/20171204-201817
base:   git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-x014-201749 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/media/dvb-core/dvb_frontend.c: In function 'dvb_frontend_compat_ioctl':
>> drivers/media/dvb-core/dvb_frontend.c:1985:54: error: implicit declaration of function 'compat_ptr'; did you mean 'complete'? [-Werror=implicit-function-declaration]
     return dvb_frontend_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
                                                         ^~~~~~~~~~
                                                         complete
   cc1: some warnings being treated as errors

vim +1985 drivers/media/dvb-core/dvb_frontend.c

  1980	
  1981	#ifdef CONFIG_COMPAT
  1982	static long dvb_frontend_compat_ioctl(struct file *file, unsigned int cmd,
  1983					      unsigned long arg)
  1984	{
> 1985		return dvb_frontend_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
  1986	}
  1987	#endif
  1988	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux