[vfs:demo.ioctl 2/4] drivers/net//ppp/ppp_generic.c:892:46: error: 'ppp_compat_ioctl' undeclared here (not in a function); did you mean 'ppp_comp_stats'?

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git demo.ioctl
head:   85084dbc7e5de9a17d55e9293286604e0dac23ae
commit: a791f1d776e261a5b1e6c3b40678f2865ac2a36b [2/4] move handling of ppp filter ioctls into isdn_ppp and ppp_generic
config: i386-randconfig-x005-201915 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout a791f1d776e261a5b1e6c3b40678f2865ac2a36b
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>


All errors (new ones prefixed by >>):

>> drivers/net//ppp/ppp_generic.c:892:46: error: 'ppp_compat_ioctl' undeclared here (not in a function); did you mean 'ppp_comp_stats'?
     .compat_ioctl = IS_ENABLED(CONFIG_COMPAT) ? ppp_compat_ioctl : NULL,
                                                 ^~~~~~~~~~~~~~~~
                                                 ppp_comp_stats

vim +892 drivers/net//ppp/ppp_generic.c

   885	
   886	static const struct file_operations ppp_device_fops = {
   887		.owner		= THIS_MODULE,
   888		.read		= ppp_read,
   889		.write		= ppp_write,
   890		.poll		= ppp_poll,
   891		.unlocked_ioctl	= ppp_ioctl,
 > 892		.compat_ioctl	= IS_ENABLED(CONFIG_COMPAT) ? ppp_compat_ioctl : NULL,
   893		.open		= ppp_open,
   894		.release	= ppp_release,
   895		.llseek		= noop_llseek,
   896	};
   897	

---
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 Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux