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
Attachment:
.config.gz
Description: Binary data