Re: [PATCH] RDMA/qib: Fix MR reference count leak on write with immediate

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

 



Hi Mike,

[auto build test ERROR on rdma/master]
[cannot apply to v4.12-rc4 next-20170607]
[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/Mike-Marciniszyn/RDMA-qib-Fix-MR-reference-count-leak-on-write-with-immediate/20170607-150924
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git master
config: x86_64-randconfig-x019-201723 (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=x86_64 

All errors (new ones prefixed by >>):

   drivers/infiniband/hw/qib/qib_rc.c: In function 'qib_rc_rcv':
>> drivers/infiniband/hw/qib/qib_rc.c:1960:4: error: implicit declaration of function 'qib_put_ss' [-Werror=implicit-function-declaration]
       qib_put_ss(&qp->r_sge);
       ^~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/qib_put_ss +1960 drivers/infiniband/hw/qib/qib_rc.c

  1954			else if (opcode == OP(RDMA_WRITE_ONLY))
  1955				goto no_immediate_data;
  1956			ret = qib_get_rwqe(qp, 1);
  1957			if (ret < 0)
  1958				goto nack_op_err;
  1959			if (!ret) {
> 1960				qib_put_ss(&qp->r_sge);
  1961				goto rnr_nak;
  1962			}
  1963			wc.ex.imm_data = ohdr->u.rc.imm_data;

---
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 Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]