mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: drivers/net/ppp/pppox.c:84:21: sparse: sparse: incorrect type in initializer (different address spaces)
Date: Mon, 27 Jul 2020 13:40:29 +0800	[thread overview]
Message-ID: <202007271313.jlpiAH1N%lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 24078 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92ed301919932f777713b9172e525674157e983d
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces
date:   6 weeks ago
config: openrisc-randconfig-s032-20200727 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-94-geb6779f6-dirty
        git checkout 670d0a4b10704667765f7d18f7592993d02783aa
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=openrisc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/net/ppp/pppox.c:84:21: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected int *__pu_addr @@     got int [noderef] __user * @@
   drivers/net/ppp/pppox.c:84:21: sparse:     expected int *__pu_addr
>> drivers/net/ppp/pppox.c:84:21: sparse:     got int [noderef] __user *
--
>> drivers/net/ppp/pppoe.c:751:21: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected int *__pu_addr @@     got int [noderef] __user * @@
   drivers/net/ppp/pppoe.c:751:21: sparse:     expected int *__pu_addr
>> drivers/net/ppp/pppoe.c:751:21: sparse:     got int [noderef] __user *
>> drivers/net/ppp/pppoe.c:765:21: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected int const *__gu_addr @@     got int [noderef] __user * @@
   drivers/net/ppp/pppoe.c:765:21: sparse:     expected int const *__gu_addr
   drivers/net/ppp/pppoe.c:765:21: sparse:     got int [noderef] __user *
   drivers/net/ppp/pppoe.c:778:21: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected int const *__gu_addr @@     got int [noderef] __user * @@
   drivers/net/ppp/pppoe.c:778:21: sparse:     expected int const *__gu_addr
   drivers/net/ppp/pppoe.c:778:21: sparse:     got int [noderef] __user *
--
>> drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1828:9: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected unsigned int const *__gu_addr @@     got unsigned int [noderef] [usertype] __user * @@
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1828:9: sparse:     expected unsigned int const *__gu_addr
>> drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1828:9: sparse:     got unsigned int [noderef] [usertype] __user *
>> drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1830:9: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected unsigned int *__pu_addr @@     got unsigned int [noderef] [usertype] __user * @@
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1830:9: sparse:     expected unsigned int *__pu_addr
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1830:9: sparse:     got unsigned int [noderef] [usertype] __user *
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1833:9: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected unsigned int const *__gu_addr @@     got unsigned int [noderef] [usertype] __user * @@
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1833:9: sparse:     expected unsigned int const *__gu_addr
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1833:9: sparse:     got unsigned int [noderef] [usertype] __user *
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1845:9: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected unsigned int const *__gu_addr @@     got unsigned int [noderef] [usertype] __user * @@
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1845:9: sparse:     expected unsigned int const *__gu_addr
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1845:9: sparse:     got unsigned int [noderef] [usertype] __user *
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c: note: in included file (through include/linux/sched/task.h, include/linux/sched/signal.h, drivers/staging/rtl8712/osdep_service.h):
   include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got void [noderef] __user *to @@
   include/linux/uaccess.h:131:38: sparse:     expected void *to
   include/linux/uaccess.h:131:38: sparse:     got void [noderef] __user *to
   include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] __user *from @@     got void const *from @@
   include/linux/uaccess.h:131:42: sparse:     expected void const [noderef] __user *from
   include/linux/uaccess.h:131:42: sparse:     got void const *from
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c: note: in included file (through include/linux/uaccess.h, include/linux/sched/task.h, include/linux/sched/signal.h, ...):
   arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const *from @@     got void const [noderef] __user *from @@
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     expected void const *from
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     got void const [noderef] __user *from
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c: note: in included file (through include/linux/sched/task.h, include/linux/sched/signal.h, drivers/staging/rtl8712/osdep_service.h):
   include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got void [noderef] __user *to @@
   include/linux/uaccess.h:131:38: sparse:     expected void *to
   include/linux/uaccess.h:131:38: sparse:     got void [noderef] __user *to
   include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] __user *from @@     got void const *from @@
   include/linux/uaccess.h:131:42: sparse:     expected void const [noderef] __user *from
   include/linux/uaccess.h:131:42: sparse:     got void const *from
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c: note: in included file (through include/linux/uaccess.h, include/linux/sched/task.h, include/linux/sched/signal.h, ...):
   arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const *from @@     got void const [noderef] __user *from @@
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     expected void const *from
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     got void const [noderef] __user *from
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c: note: in included file (through include/linux/sched/task.h, include/linux/sched/signal.h, drivers/staging/rtl8712/osdep_service.h):
   include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got void [noderef] __user *to @@
   include/linux/uaccess.h:131:38: sparse:     expected void *to
   include/linux/uaccess.h:131:38: sparse:     got void [noderef] __user *to
   include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] __user *from @@     got void const *from @@
   include/linux/uaccess.h:131:42: sparse:     expected void const [noderef] __user *from
   include/linux/uaccess.h:131:42: sparse:     got void const *from
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c: note: in included file (through include/linux/uaccess.h, include/linux/sched/task.h, include/linux/sched/signal.h, ...):
   arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const *from @@     got void const [noderef] __user *from @@
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     expected void const *from
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     got void const [noderef] __user *from
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c: note: in included file (through include/linux/sched/task.h, include/linux/sched/signal.h, drivers/staging/rtl8712/osdep_service.h):
   include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got void [noderef] __user *to @@
   include/linux/uaccess.h:131:38: sparse:     expected void *to
   include/linux/uaccess.h:131:38: sparse:     got void [noderef] __user *to
   include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] __user *from @@     got void const *from @@
   include/linux/uaccess.h:131:42: sparse:     expected void const [noderef] __user *from
   include/linux/uaccess.h:131:42: sparse:     got void const *from
   drivers/staging/rtl8712/rtl871x_ioctl_linux.c: note: in included file (through include/linux/uaccess.h, include/linux/sched/task.h, include/linux/sched/signal.h, ...):
   arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const *from @@     got void const [noderef] __user *from @@
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     expected void const *from
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     got void const [noderef] __user *from
--
   net/bluetooth/sco.c:813:21: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected unsigned int const *__gu_addr @@     got unsigned int [noderef] [usertype] __user * @@
   net/bluetooth/sco.c:813:21: sparse:     expected unsigned int const *__gu_addr
   net/bluetooth/sco.c:813:21: sparse:     got unsigned int [noderef] [usertype] __user *
   net/bluetooth/sco.c:868:13: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected int const *__gu_addr @@     got int [noderef] __user *optlen @@
   net/bluetooth/sco.c:868:13: sparse:     expected int const *__gu_addr
   net/bluetooth/sco.c:868:13: sparse:     got int [noderef] __user *optlen
   net/bluetooth/sco.c:932:13: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected int const *__gu_addr @@     got int [noderef] __user *optlen @@
   net/bluetooth/sco.c:932:13: sparse:     expected int const *__gu_addr
   net/bluetooth/sco.c:932:13: sparse:     got int [noderef] __user *optlen
>> net/bluetooth/sco.c:945:21: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected unsigned int *__pu_addr @@     got unsigned int [noderef] [usertype] __user * @@
   net/bluetooth/sco.c:945:21: sparse:     expected unsigned int *__pu_addr
   net/bluetooth/sco.c:945:21: sparse:     got unsigned int [noderef] [usertype] __user *
   net/bluetooth/sco.c:968:21: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected unsigned int *__pu_addr @@     got unsigned int [noderef] [usertype] __user * @@
   net/bluetooth/sco.c:968:21: sparse:     expected unsigned int *__pu_addr
   net/bluetooth/sco.c:968:21: sparse:     got unsigned int [noderef] [usertype] __user *
   net/bluetooth/sco.c: note: in included file (through include/asm-generic/atomic.h, arch/openrisc/include/asm/atomic.h, include/linux/atomic.h, ...):
   arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
   arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
   net/bluetooth/sco.c: note: in included file (through include/linux/sched/task.h, include/linux/sched/signal.h, include/linux/rcuwait.h, ...):
   include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got void [noderef] __user *to @@
   include/linux/uaccess.h:131:38: sparse:     expected void *to
   include/linux/uaccess.h:131:38: sparse:     got void [noderef] __user *to
   include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] __user *from @@     got void const *from @@
   include/linux/uaccess.h:131:42: sparse:     expected void const [noderef] __user *from
   include/linux/uaccess.h:131:42: sparse:     got void const *from
   net/bluetooth/sco.c: note: in included file (through include/linux/uaccess.h, include/linux/sched/task.h, include/linux/sched/signal.h, ...):
   arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const *from @@     got void const [noderef] __user *from @@
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     expected void const *from
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     got void const [noderef] __user *from
   net/bluetooth/sco.c: note: in included file (through include/linux/sched/task.h, include/linux/sched/signal.h, include/linux/rcuwait.h, ...):
   include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got void [noderef] __user *to @@
   include/linux/uaccess.h:131:38: sparse:     expected void *to
   include/linux/uaccess.h:131:38: sparse:     got void [noderef] __user *to
   include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] __user *from @@     got void const *from @@
   include/linux/uaccess.h:131:42: sparse:     expected void const [noderef] __user *from
   include/linux/uaccess.h:131:42: sparse:     got void const *from
   net/bluetooth/sco.c: note: in included file (through include/linux/uaccess.h, include/linux/sched/task.h, include/linux/sched/signal.h, ...):
   arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const *from @@     got void const [noderef] __user *from @@
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     expected void const *from
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     got void const [noderef] __user *from
   net/bluetooth/sco.c: note: in included file (through include/linux/sched/task.h, include/linux/sched/signal.h, include/linux/rcuwait.h, ...):
   include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got void [noderef] __user *to @@
   include/linux/uaccess.h:131:38: sparse:     expected void *to
   include/linux/uaccess.h:131:38: sparse:     got void [noderef] __user *to
   include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] __user *from @@     got void const *from @@
   include/linux/uaccess.h:131:42: sparse:     expected void const [noderef] __user *from
   include/linux/uaccess.h:131:42: sparse:     got void const *from
   net/bluetooth/sco.c: note: in included file (through include/linux/uaccess.h, include/linux/sched/task.h, include/linux/sched/signal.h, ...):
   arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const *from @@     got void const [noderef] __user *from @@
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     expected void const *from
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     got void const [noderef] __user *from
--
   net/bluetooth/rfcomm/sock.c:659:21: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected unsigned int const *__gu_addr @@     got unsigned int [noderef] [usertype] __user * @@
   net/bluetooth/rfcomm/sock.c:659:21: sparse:     expected unsigned int const *__gu_addr
>> net/bluetooth/rfcomm/sock.c:659:21: sparse:     got unsigned int [noderef] [usertype] __user *
   net/bluetooth/rfcomm/sock.c:735:21: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected unsigned int const *__gu_addr @@     got unsigned int [noderef] [usertype] __user * @@
   net/bluetooth/rfcomm/sock.c:735:21: sparse:     expected unsigned int const *__gu_addr
   net/bluetooth/rfcomm/sock.c:735:21: sparse:     got unsigned int [noderef] [usertype] __user *
>> net/bluetooth/rfcomm/sock.c:767:13: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected int const *__gu_addr @@     got int [noderef] __user *optlen @@
   net/bluetooth/rfcomm/sock.c:767:13: sparse:     expected int const *__gu_addr
>> net/bluetooth/rfcomm/sock.c:767:13: sparse:     got int [noderef] __user *optlen
>> net/bluetooth/rfcomm/sock.c:797:21: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected unsigned int *__pu_addr @@     got unsigned int [noderef] [usertype] __user * @@
   net/bluetooth/rfcomm/sock.c:797:21: sparse:     expected unsigned int *__pu_addr
   net/bluetooth/rfcomm/sock.c:797:21: sparse:     got unsigned int [noderef] [usertype] __user *
   net/bluetooth/rfcomm/sock.c:845:13: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected int const *__gu_addr @@     got int [noderef] __user *optlen @@
   net/bluetooth/rfcomm/sock.c:845:13: sparse:     expected int const *__gu_addr
   net/bluetooth/rfcomm/sock.c:845:13: sparse:     got int [noderef] __user *optlen
   net/bluetooth/rfcomm/sock.c:872:21: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected unsigned int *__pu_addr @@     got unsigned int [noderef] [usertype] __user * @@
   net/bluetooth/rfcomm/sock.c:872:21: sparse:     expected unsigned int *__pu_addr
   net/bluetooth/rfcomm/sock.c:872:21: sparse:     got unsigned int [noderef] [usertype] __user *
   net/bluetooth/rfcomm/sock.c: note: in included file (through include/linux/crypto.h, include/crypto/hash.h, include/linux/uio.h, ...):
   include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got void [noderef] __user *to @@
   include/linux/uaccess.h:131:38: sparse:     expected void *to
   include/linux/uaccess.h:131:38: sparse:     got void [noderef] __user *to
   include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] __user *from @@     got void const *from @@
   include/linux/uaccess.h:131:42: sparse:     expected void const [noderef] __user *from
   include/linux/uaccess.h:131:42: sparse:     got void const *from
   net/bluetooth/rfcomm/sock.c: note: in included file (through include/linux/uaccess.h, include/linux/crypto.h, include/crypto/hash.h, ...):
   arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const *from @@     got void const [noderef] __user *from @@
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     expected void const *from
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     got void const [noderef] __user *from
   net/bluetooth/rfcomm/sock.c: note: in included file (through include/linux/crypto.h, include/crypto/hash.h, include/linux/uio.h, ...):
   include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got void [noderef] __user *to @@
   include/linux/uaccess.h:131:38: sparse:     expected void *to
   include/linux/uaccess.h:131:38: sparse:     got void [noderef] __user *to
   include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] __user *from @@     got void const *from @@
   include/linux/uaccess.h:131:42: sparse:     expected void const [noderef] __user *from
   include/linux/uaccess.h:131:42: sparse:     got void const *from
   net/bluetooth/rfcomm/sock.c: note: in included file (through include/linux/uaccess.h, include/linux/crypto.h, include/crypto/hash.h, ...):
   arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const *from @@     got void const [noderef] __user *from @@
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     expected void const *from
   arch/openrisc/include/asm/uaccess.h:246:55: sparse:     got void const [noderef] __user *from

vim +84 drivers/net/ppp/pppox.c

^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  66  
17ba15fb6264f2 drivers/net/pppox.c David S. Miller  2005-12-27  67  int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  68  {
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  69  	struct sock *sk = sock->sk;
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  70  	struct pppox_sock *po = pppox_sk(sk);
86c1dcfc96a778 drivers/net/pppox.c Florian Zumbiehl 2007-07-30  71  	int rc;
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  72  
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  73  	lock_sock(sk);
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  74  
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  75  	switch (cmd) {
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  76  	case PPPIOCGCHAN: {
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  77  		int index;
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  78  		rc = -ENOTCONN;
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  79  		if (!(sk->sk_state & PPPOX_CONNECTED))
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  80  			break;
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  81  
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  82  		rc = -EINVAL;
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  83  		index = ppp_channel_index(&po->chan);
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16 @84  		if (put_user(index , (int __user *) arg))
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  85  			break;
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  86  
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  87  		rc = 0;
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  88  		sk->sk_state |= PPPOX_BOUND;
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  89  		break;
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  90  	}
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  91  	default:
86c1dcfc96a778 drivers/net/pppox.c Florian Zumbiehl 2007-07-30  92  		rc = pppox_protos[sk->sk_protocol]->ioctl ?
86c1dcfc96a778 drivers/net/pppox.c Florian Zumbiehl 2007-07-30  93  			pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY;
86c1dcfc96a778 drivers/net/pppox.c Florian Zumbiehl 2007-07-30  94  	}
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  95  
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  96  	release_sock(sk);
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  97  	return rc;
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  98  }
^1da177e4c3f41 drivers/net/pppox.c Linus Torvalds   2005-04-16  99  

:::::: The code at line 84 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 24631 bytes --]

                 reply	other threads:[~2020-07-27  5:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202007271313.jlpiAH1N%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luc.vanoostenryck@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®