Received: by 10.223.185.116 with SMTP id b49csp1000044wrg; Fri, 16 Feb 2018 10:34:11 -0800 (PST) X-Google-Smtp-Source: AH8x2267LC/Jd7fttE4xQWts7cRHdZ8g+hY89Hnokiz1n4ViNM2b088680NbH/RVznwkEXyqg/Vp X-Received: by 2002:a17:902:7f0b:: with SMTP id d11-v6mr6888169plm.350.1518806051646; Fri, 16 Feb 2018 10:34:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518806051; cv=none; d=google.com; s=arc-20160816; b=EJWcIgr9iKB7zODc+qQ9I3s9cE553Ek6dcg/oi1ooJcuEzbI5KrBDGOR4uYgH/yjVp bnDVkO+sf5k3EvNZz4stmiBAbR7uCSoKb4MX8zkAwGosCDLYQOMOoyUMJpBJuWSG6ZAE /0JS8UnBnBI8TaHIJlYRqs1ck+XQMd2VAywRcHG3fXHLxyydF3Vi1Cn+4ViDzALODTNs 3pAuurRgQSLc58KpSFwqC1CzvoaJXfTOY3P84dbsYE8g2nuBRI3HEWdBHcfpfvfeOq9l 6SjL/A4Z6ebD6ni89ubFjK+uGuVIi58LGUNFTNVJrWmi6xwhdaNae7VIhOCOQFYeZ+Fw te/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:subject:cc:to :from:date:dkim-signature:arc-authentication-results; bh=nNRMhn1hWx2/Qg7ytiyQBdn0dcE1XrPoOICX5chFfGs=; b=H17leULgW2IHare7F+PrjsRTeEgbHNinGnYhRIkTjdSlyPwkYor6GuRA7nRwkQbn6Q K2U9e/yolP9drXNCAE/j36LnhrvIcmdvKt8qm87VKdVkdXSjENk7NZMyTSzJZi4zpAm5 mmxUtnf88OP+yKwODd41b+YSkPoA+3WShOPMCKH9OZeOMikadGXhoHixpNpy5a/bNlGb rM92YndGD1+mpTWzbIpDI7EBU50xA3Q309u9nbyZ8XtEKFFqPfJX+ZEgbCdN4dCxzoMY aDv3heRYoloKvQkOlSVOmo39V1rWo0DCs5Bqc8nb6rjZvy9coYlBUiPjeeEJkbWtY2qt 3qeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=Y5Km3zg9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si1706999plc.63.2018.02.16.10.33.56; Fri, 16 Feb 2018 10:34:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=Y5Km3zg9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757027AbeBPBEq (ORCPT + 99 others); Thu, 15 Feb 2018 20:04:46 -0500 Received: from ozlabs.org ([103.22.144.67]:57163 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757014AbeBPBEp (ORCPT ); Thu, 15 Feb 2018 20:04:45 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 3zjFKk580mz9t5l; Fri, 16 Feb 2018 12:04:42 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1518743082; bh=i9MiZYACvL3W/Qnr/ET41aiJ3RiaFsFjhRAYhXqlnwk=; h=Date:From:To:Cc:Subject:From; b=Y5Km3zg9seHHAB7ZZGFNxdDSt8TDFu00SLhUi72zrqfzg4IAd6DEksK94VPZEZWSe h3Hezb9LEJYNJhK8DgbI28+wGpC+uwJmpxahyUHLmFctqje2adbebwyCYHmUXwGcgL YJFO6T/QfU5sR/dJwLLiW8B6OB6OovPvCZuwXkc1qc8fw4ayKk7btVQnjT1k9Tulh5 8gj5lDhoEk2xC3y3Ff18SSOzzBlZcrQKVGxfniwTD9Kd6Wxa3rY2s+MBd7SxMZd61f eQmdM5thbHlc+Sdt9zULEmAuGRSb27gvdc47gvbEnI2r0tDrfyHZtrmYMm1hWoPoks oqD2X8YdVhP0Q== Date: Fri, 16 Feb 2018 12:04:32 +1100 From: Stephen Rothwell To: Juergen Gross , Konrad Rzeszutek Wilk , Stefano Stabellini , Boris Ostrovsky , Xen Devel Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Linus Torvalds , Al Viro Subject: linux-next: manual merge of the xen-tip tree with Linus' tree Message-ID: <20180216120432.2f4e9c89@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/RcypGp7ov+IO3ZI01VUMiJ6"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/RcypGp7ov+IO3ZI01VUMiJ6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the xen-tip tree got a conflict in: drivers/xen/pvcalls-front.c between commit: a9a08845e9ac ("vfs: do bulk POLL* -> EPOLL* replacement") from Linus' tree and commit: 1e7dbff356e5 ("pvcalls-front: introduce a per sock_mapping refcount") from the xen-tip tree. I fixed it up (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. --=20 Cheers, Stephen Rothwell diff --cc drivers/xen/pvcalls-front.c index 753d9cb437d0,ca5b77309c7d..000000000000 --- a/drivers/xen/pvcalls-front.c +++ b/drivers/xen/pvcalls-front.c @@@ -963,20 -942,13 +942,13 @@@ __poll_t pvcalls_front_poll(struct fil { struct pvcalls_bedata *bedata; struct sock_mapping *map; - int ret; + __poll_t ret; =20 - pvcalls_enter(); - if (!pvcalls_front_dev) { - pvcalls_exit(); + map =3D pvcalls_enter_sock(sock); + if (IS_ERR(map)) - return POLLNVAL; + return EPOLLNVAL; - } bedata =3D dev_get_drvdata(&pvcalls_front_dev->dev); =20 - map =3D (struct sock_mapping *) sock->sk->sk_send_head; - if (!map) { - pvcalls_exit(); - return EPOLLNVAL; - } if (map->active_socket) ret =3D pvcalls_front_poll_active(file, bedata, map, wait); else --Sig_/RcypGp7ov+IO3ZI01VUMiJ6 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAlqGLiAACgkQAVBC80lX 0Gzl/Qf9EJ+rGIkbV3fwxNFrDlDNfH5Ceme9hgscpX7pXg0Lvhg9XfkYSkkkYrIW mcQrsYhHspRS0DoU0CKIrHDhl2dd8X04yHkY3QU5kiVghJ+fQT7F6VtqOXOhL6sB tpnd4N4JgZZF770nClQRPwDOaYkmy0uhSABPaUWx9isL2NQPjSXQnnUy0oxC8uj3 zyoLEut/+XGMiGD2x5vH34q6sszQMWwW3hiwdCHcvQ7GrDKsM/SxkRC8WNplTvNC KG3FOWyv46B3Jhvxs55xU/STkDfIgYRiVIQ3Go/Ng+gsVqHmB4cGkcKm6XfLcUIA 6KdHzfF98oxm5gy2Gq5Pu+ZFeM3JJA== =5iqi -----END PGP SIGNATURE----- --Sig_/RcypGp7ov+IO3ZI01VUMiJ6--