lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201707272157.EUWbJG6R%fengguang.wu@intel.com>
Date:   Thu, 27 Jul 2017 21:47:24 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Marcel Apfelbaum <marcel@...hat.com>
Cc:     kbuild-all@...org, linux-rdma@...r.kernel.org,
        linux-kernel@...r.kernel.org, monis@...lanox.com,
        dledford@...hat.com, sean.hefty@...el.com,
        hal.rosenstock@...il.com, marcel@...hat.com, yuval.shaia@...cle.com
Subject: Re: [PATCH] drivers/rxe: improve rxe loopback

Hi Marcel,

[auto build test ERROR on rdma/master]
[also build test ERROR on v4.13-rc2 next-20170727]
[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/Marcel-Apfelbaum/drivers-rxe-improve-rxe-loopback/20170727-211514
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git master
config: i386-randconfig-x002-07271954 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   drivers/infiniband/sw/rxe/rxe_net.c: In function 'addr6_same_rxe':
>> drivers/infiniband/sw/rxe/rxe_net.c:414:12: error: implicit declaration of function 'in6_dev_get' [-Werror=implicit-function-declaration]
     in6_dev = in6_dev_get(rxe->ndev);
               ^~~~~~~~~~~
>> drivers/infiniband/sw/rxe/rxe_net.c:414:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     in6_dev = in6_dev_get(rxe->ndev);
             ^
>> drivers/infiniband/sw/rxe/rxe_net.c:426:2: error: implicit declaration of function 'in6_dev_put' [-Werror=implicit-function-declaration]
     in6_dev_put(in6_dev);
     ^~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/in6_dev_get +414 drivers/infiniband/sw/rxe/rxe_net.c

   407	
   408	static inline bool addr6_same_rxe(struct rxe_dev *rxe, struct in6_addr *daddr)
   409	{
   410		struct inet6_dev *in6_dev;
   411		struct inet6_ifaddr *ifp;
   412		bool same_rxe = false;
   413	
 > 414		in6_dev = in6_dev_get(rxe->ndev);
   415		if (!in6_dev)
   416			return false;
   417	
   418		read_lock_bh(&in6_dev->lock);
   419		list_for_each_entry(ifp, &in6_dev->addr_list, if_list)
   420			if (!memcmp(&ifp->addr, daddr, sizeof(*daddr))) {
   421				same_rxe = true;
   422				goto out;
   423			}
   424	out:
   425		read_unlock_bh(&in6_dev->lock);
 > 426		in6_dev_put(in6_dev);
   427		return same_rxe;
   428	}
   429	

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

Download attachment ".config.gz" of type "application/gzip" (28776 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ