Hi Ursula,

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

url:    
https://github.com/0day-ci/linux/commits/Ursula-Braun/net-smc-Shared-Memory-Communications-RDMA/20160809-182526


coccinelle warnings: (new ones prefixed by >>)

>> net/smc/smc_ib.c:45:14-21: ERROR: PTR_ERR applied after initialization to 
>> constant on line 44
   net/smc/smc_ib.c:98:14-21: ERROR: PTR_ERR applied after initialization to 
constant on line 97

vim +45 net/smc/smc_ib.c

    38  }
    39  
    40  int smc_ib_create_protection_domain(struct smc_link *lnk)
    41  {
    42          lnk->roce_pd = ib_alloc_pd(lnk->smcibdev->ibdev);
    43          if (IS_ERR(lnk->roce_pd)) {
  > 44                  lnk->roce_pd = NULL;
  > 45                  return (int)PTR_ERR(lnk->roce_pd);
    46          }
    47          return 0;
    48  }

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

Reply via email to