Received: by 10.223.185.116 with SMTP id b49csp1002755wrg; Fri, 16 Feb 2018 10:36:59 -0800 (PST) X-Google-Smtp-Source: AH8x227dfrfylwQmv2/mKrN+EA769ekewJwbw7F38SNPzFiaInXgfgUHd0LvdOlie0Rsza3sAEw/ X-Received: by 10.98.35.66 with SMTP id j63mr6959432pfj.140.1518806219859; Fri, 16 Feb 2018 10:36:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518806219; cv=none; d=google.com; s=arc-20160816; b=mAMq0yMopr+oqT91guSTw18RQ5HvRbQTcxVXn+wP909nE8ARhISvZ0TTpHHEthLzyX iGsUUyS0KTgf4dPJtk0gje1VOSBs1cTjdSolICSZFCkOYnkI8gvLNE43Pwbt+StWpGS6 zTXuG2LYVJuROOqXmVcgOHW2kKPmy3BdhJRZH5Wjn/CBZT8ceHQe5o159I/hgVMVKVTO ED4SWv1ZZpxN8myfl6a64FmrBs+m+uWLyDONHvV+Jk3Qu/nbDKZDjsy0nwzJr7wqwopn NGpGXfi2H20AdIVLPpUucVGvGhlmTl4lLhktj4XWSRZ8TA0fLKZgOf7spa+udQdAiJza Wv/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dmarc-filter :arc-authentication-results; bh=8TpCl4KoUlj14iZ61SKHydhdenhV2Cgx5x4HJQI8SF0=; b=KY0+VdW4vezEJd8qW40hWJnlC44KKxRuGJs58C5rWsIKlgAwBYTU5YtFhGde2CGoZw 7hChS/Jr2FBy/0AnLghn8ja/Lw5KXOZPCQptYpTz8BzSLz8UyDj+p88cUGbZ2dOOyKQ/ Xp+ZaxxDghvfGVWkKzu0VOqzfH3kGFvPE1TLH/k17OF2KZxvlhFzmVjyRsjHyDQYiOc+ c7OBeekTPMDMRDv8MUh7Lfnx2Qdg++J0Ca4ySFLzE9Iz38a2XnPbLsuEmhbkZr5VFsBT GdcWUGdIzUcYANXnyguGtCZIBNQ15QyQrJdnuTortzDlo/DRcCPTriT4bLnCo/QxBE3p sqmA== ARC-Authentication-Results: i=1; mx.google.com; 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 u66si1760034pgc.651.2018.02.16.10.36.44; Fri, 16 Feb 2018 10:36:59 -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; 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 S1757188AbeBPBzr (ORCPT + 99 others); Thu, 15 Feb 2018 20:55:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:48620 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751057AbeBPBzq (ORCPT ); Thu, 15 Feb 2018 20:55:46 -0500 Received: from [10.135.48.227] (unknown [12.248.85.146]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3DF25217A0; Fri, 16 Feb 2018 01:55:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3DF25217A0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=sstabellini@kernel.org Date: Thu, 15 Feb 2018 17:55:45 -0800 (PST) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-X260 To: Stephen Rothwell cc: Juergen Gross , Konrad Rzeszutek Wilk , Stefano Stabellini , Boris Ostrovsky , Xen Devel , Linux-Next Mailing List , Linux Kernel Mailing List , Linus Torvalds , Al Viro Subject: Re: linux-next: manual merge of the xen-tip tree with Linus' tree In-Reply-To: <20180216120432.2f4e9c89@canb.auug.org.au> Message-ID: References: <20180216120432.2f4e9c89@canb.auug.org.au> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 16 Feb 2018, Stephen Rothwell wrote: > 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. Hi Stephen, it looks good. Cheers, Stefano > -- > 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; > > - pvcalls_enter(); > - if (!pvcalls_front_dev) { > - pvcalls_exit(); > + map = pvcalls_enter_sock(sock); > + if (IS_ERR(map)) > - return POLLNVAL; > + return EPOLLNVAL; > - } > bedata = dev_get_drvdata(&pvcalls_front_dev->dev); > > - map = (struct sock_mapping *) sock->sk->sk_send_head; > - if (!map) { > - pvcalls_exit(); > - return EPOLLNVAL; > - } > if (map->active_socket) > ret = pvcalls_front_poll_active(file, bedata, map, wait); > else >