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: <201608092256.5ZAqqUDX%fengguang.wu@intel.com>
Date:	Tue, 9 Aug 2016 22:43:54 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Ursula Braun <ubraun@...ux.vnet.ibm.com>
Cc:	kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org,
	linux-s390@...r.kernel.org, schwidefsky@...ibm.com,
	heiko.carstens@...ibm.com, utz.bacher@...ibm.com,
	ubraun@...ux.vnet.ibm.com
Subject: Re: [PATCH RESEND net-next 12/15] smc: send data (through RDMA)

Hi Ursula,

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Ursula-Braun/net-smc-Shared-Memory-Communications-RDMA/20160809-182526
config: i386-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In function 'smc_tx_rdma_writes',
       inlined from 'smc_tx_sndbuf_nonempty' at net/smc/smc_tx.c:384:5:
>> net/smc/smc_tx.c:363:40: error: call to '__xchg_wrong_size' declared with attribute error: Bad argument size for xchg
    
                                           ^                  
   net/smc/smc_tx.c:364:4: error: call to '__xchg_wrong_size' declared with attribute error: Bad argument size for xchg
    /* Wakeup sndbuf consumers from any context (IRQ or process)
       ^~~~~~~~~~~~~~~~~~~
   net/smc/smc_tx.c: In function 'smc_tx_sendmsg':
   net/smc/smc_tx.c:196:5: error: call to '__xchg_wrong_size' declared with attribute error: Bad argument size for xchg
      smp_mb__after_atomic();
        ^~~~~~~~~~~~~~~~~~~

vim +/__xchg_wrong_size +363 net/smc/smc_tx.c

   357		/* update connection's cursors with advanced local cursors */
   358		xchg(&conn->local_tx_ctrl.prod.acurs, prod.acurs); /* dst: peer RMBE */
   359		xchg(&conn->tx_curs_sent.acurs, sent.acurs); /* src: local sndbuf */
   360	
   361		return 0;
   362	}
 > 363	
   364	/* Wakeup sndbuf consumers from any context (IRQ or process)
   365	 * since there is more data to transmit; usable snd_wnd as max transmit
   366	 */
   367	int smc_tx_sndbuf_nonempty(struct smc_connection *conn)
   368	{
   369		struct smc_cdc_tx_pend *pend;
   370		struct smc_wr_buf *wr_buf;
   371		int rc;
   372	
   373		spin_lock_bh(&conn->send_lock);
   374		rc = smc_cdc_get_free_slot(&conn->lgr->lnk[SMC_SINGLE_LINK], &wr_buf,
   375					   &pend);
   376		if (rc < 0) {
   377			if (rc == -EBUSY) {
   378				rc = 0;
   379				schedule_work(&conn->tx_work);
   380			}
   381			goto out_unlock;
   382		}
   383	
 > 384		rc = smc_tx_rdma_writes(conn);
   385		if (rc) {
   386			smc_wr_tx_put_slot(&conn->lgr->lnk[SMC_SINGLE_LINK],
   387					   (struct smc_wr_tx_pend_priv *)pend);

---
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/octet-stream" (55069 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ