From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752884AbdGNBOl (ORCPT ); Thu, 13 Jul 2017 21:14:41 -0400 Received: from ozlabs.org ([103.22.144.67]:41373 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752456AbdGNBOk (ORCPT ); Thu, 13 Jul 2017 21:14:40 -0400 Date: Fri, 14 Jul 2017 11:14:37 +1000 From: Stephen Rothwell To: Doug Ledford Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Daniel Jurgens , Paul Moore , Parav Pandit , Leon Romanovsky , Eli Cohen Subject: linux-next: manual merge of the rdma tree with Linus' tree Message-ID: <20170714111437.69a6b100@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Doug, Today's linux-next merge of the rdma tree got conflicts in: drivers/infiniband/core/uverbs_cmd.c drivers/infiniband/core/verbs.c between commit: d291f1a65232 ("IB/core: Enforce PKey security on QPs") from Linus' tree and commits: c7c0fb974caa ("IB/core: Introduce modify QP operation with udata") 5f4bc420f35f ("IB/uverbs: Make use of ib_modify_qp variant to avoid resolving DMAC") from the rdma tree. I fixed it up (I used the latter version of uverbs_cmd.c and see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. -- Cheers, Stephen Rothwell diff --cc drivers/infiniband/core/verbs.c index c973a83c898b,8ece2aae033d..000000000000 --- a/drivers/infiniband/core/verbs.c +++ b/drivers/infiniband/core/verbs.c @@@ -1280,8 -1283,15 +1298,15 @@@ int ib_modify_qp_with_udata(struct ib_q if (ret) return ret; } - return qp->device->modify_qp(qp->real_qp, attr, attr_mask, udata); ++ return ib_security_modify_qp(qp->real_qp, attr, attr_mask, udata); + } + EXPORT_SYMBOL(ib_modify_qp_with_udata); - return ib_security_modify_qp(qp->real_qp, qp_attr, qp_attr_mask, NULL); + int ib_modify_qp(struct ib_qp *qp, + struct ib_qp_attr *qp_attr, + int qp_attr_mask) + { + return ib_modify_qp_with_udata(qp, qp_attr, qp_attr_mask, NULL); } EXPORT_SYMBOL(ib_modify_qp);