Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2502760ybi; Mon, 1 Jul 2019 13:06:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWdaSNkVWyT1VBvlHo+3cwsYaHfO4UROiSCCQW9gAOP6v1h5yWjZiQEgKOMZG7ycUubNoW X-Received: by 2002:a17:90a:d983:: with SMTP id d3mr1163671pjv.88.1562011576901; Mon, 01 Jul 2019 13:06:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562011576; cv=none; d=google.com; s=arc-20160816; b=uk/+WYCPUdkUGwYuTofWncR7nBgDA0pJpqvwns8gLfiIBpoiWP1uGgx8O+0qI/Nppz yMT6F71vtdxt8brYmRoIwzp40rJSGtyw/x5lA2E/LRVsu7N/h4UNwRP5qDSJIhBWjF42 ySanDEADaeJUUIurAZAwqlPkdIJkMWoRgMJYHRzkDDzqmNuCl7CwuRkdC7oZ3/ivFboN U/g7P/bfrZwDvupA15sFgaQ/ICjpYcUbrLpcEW7FNSg/GzhCYVWZ1xdPu5Z7vTtzG13A 9toXP8I8wrjCwsy1v8cFuxlxUQDbINBVCLyPLgdOr3QsQgChMshBCyj8xHmaUi+n1diV 66ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0CNlL2851Davn61YeptnodzyoCmUGyYI2pFnwzHbujc=; b=iIh24oTfeL5SgNuCYT/wCIw/XJkGFwimWefnch1dbujQHIOTv39RgCPNeggrNoVhmZ VZMPRuFhG/UwNrOgOspQXwj3LPYFofmPM64aU7Buar8BxbknQ3qE2e6eLSBG+794z8nY EimxV1ZF7txtOkfh2A0I5iCEXe7p3Q5VQF9nlE4jtfgl2tcs7pQf65trnspndjYdWPOX sLB+GcL8EdOf4Nss4pkGhrVI5Nq1wGzXhhM4nid0kM0zkJZCCDXEg/69RUHUWslXqES+ auwUShj0vuWcL87AR1lQoOw5pJlgbRt5vEoPHLHgCg8aHbI75j+8KbzDO4G1/S8Q2zkn 2ELA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ct2xqmpi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n22si11180269pgj.474.2019.07.01.13.06.01; Mon, 01 Jul 2019 13:06:16 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=Ct2xqmpi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726820AbfGAUEY (ORCPT + 99 others); Mon, 1 Jul 2019 16:04:24 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:33273 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726668AbfGAUEY (ORCPT ); Mon, 1 Jul 2019 16:04:24 -0400 Received: by mail-ed1-f68.google.com with SMTP id i11so25042610edq.0; Mon, 01 Jul 2019 13:04:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0CNlL2851Davn61YeptnodzyoCmUGyYI2pFnwzHbujc=; b=Ct2xqmpiDioDNvC1/rWVs5RKGxNlA1Hmo3t3hT0xj9LJ96i2zqnT4UsuZCzysmoxoW AR1UCtkeOXGkbgcfapHvXIyzl2kJVrWuDXVexpjvQEjx0omgJdiH4nMB/5MQdyCq2yRo Jr2Jwf2uW0/aa923alAGrd4w/DcGShRggcBCPPcNS7c2J3+FHR+ZvIpENvzHWwf07c30 CMOyL2OM+RQnUNp+lc88PPBkfLkDhA6o4/qTJuPalVbukNJ4K+bI9WVSnabMuddVeo1O WzwL+xJ/9NXuPJXRbLDtoyxLTF/MmB30uOTw8uyw8PnPFrGpyh53nuKEvQZ69Jp+GE6p U/pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0CNlL2851Davn61YeptnodzyoCmUGyYI2pFnwzHbujc=; b=uOob0xppoAvyyxzFVEIuYMRTlQ2Jc7EELea4HuuuKfQBMjXtKVaojLSS1DyIu7nx9T jWEbTCQWe0g4oiv6JIX4nvb4mRJ3hz01DAmAJznYRtkQGzNzSKxEJToFT1MFhqk7WF9X sb92Gs7NkSd5w5FqPPkO2iqvv8clxJV8XUiennO+qHbxOEiPro/XLwYCfBa1OYZ39TQ+ 0Iyngxy5RDfjMAo4nE4dQ7wNG9TbgQbWoce6Q4cAknL+bSkHtvMzXZ/O82olAjEl8o3R 4SiQTO3lN7/epTM0u/x5fSKDCFthEo9oia0uBAyThASoByhpdiiqsFzrphxPhXpGyJcL CTtQ== X-Gm-Message-State: APjAAAUdtrQ+cC+RLrmcn4jBHSpCEI769ytxvBa1x/Mk1RD74OlUd7S2 Ut0C4BOuMdZg5Df5S/NQdU4= X-Received: by 2002:a17:907:2091:: with SMTP id pv17mr24937125ejb.152.1562011461601; Mon, 01 Jul 2019 13:04:21 -0700 (PDT) Received: from archlinux-epyc ([2a01:4f9:2b:2b15::2]) by smtp.gmail.com with ESMTPSA id v47sm4058590edc.80.2019.07.01.13.04.20 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 13:04:20 -0700 (PDT) Date: Mon, 1 Jul 2019 13:04:18 -0700 From: Nathan Chancellor To: Stephen Rothwell Cc: Greg KH , Arnd Bergmann , Linux Next Mailing List , Linux Kernel Mailing List , Suzuki K Poulose , Mathieu Poirier , "Michael S. Tsirkin" , Jean-Philippe Brucker Subject: Re: linux-next: manual merge of the char-misc tree with the driver-core tree Message-ID: <20190701200418.GA72724@archlinux-epyc> References: <20190701190940.7f23ac15@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <20190701190940.7f23ac15@canb.auug.org.au> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jul 01, 2019 at 07:09:40PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the char-misc tree got a conflict in: > > drivers/hwtracing/coresight/of_coresight.c > > between commit: > > 418e3ea157ef ("bus_find_device: Unify the match callback with class_find_device") > > from the driver-core tree and commits: > > 22aa495a6477 ("coresight: Rename of_coresight to coresight-platform") > 20961aea982e ("coresight: platform: Use fwnode handle for device search") > > from the char-misc tree. > > I fixed it up (I removed the file and added the following merge fix patch) > 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. > > From: Stephen Rothwell > Date: Mon, 1 Jul 2019 19:07:20 +1000 > Subject: [PATCH] coresight: fix for "bus_find_device: Unify the match callback > with class_find_device" > > Signed-off-by: Stephen Rothwell > --- > drivers/hwtracing/coresight/coresight-platform.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hwtracing/coresight/coresight-platform.c b/drivers/hwtracing/coresight/coresight-platform.c > index 3c5ceda8db24..fc67f6ae0b3e 100644 > --- a/drivers/hwtracing/coresight/coresight-platform.c > +++ b/drivers/hwtracing/coresight/coresight-platform.c > @@ -37,7 +37,7 @@ static int coresight_alloc_conns(struct device *dev, > return 0; > } > > -int coresight_device_fwnode_match(struct device *dev, void *fwnode) > +int coresight_device_fwnode_match(struct device *dev, const void *fwnode) > { > return dev_fwnode(dev) == fwnode; > } > -- > 2.20.1 > > -- > Cheers, > Stephen Rothwell Hi Stephen and Michael, It looks like a similar fix is needed for the vhost tree because of commit edcd69ab9a32 ("iommu: Add virtio-iommu driver") interacting with commit 92ce7e83b4e5 ("driver_find_device: Unify the match function with class_find_device()") in the driver-core tree (my patch is attached). Cheers, Nathan --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-iommu-virtio-Constify-data-parameter-in-viommu_match.patch" From 347a1bbeb8ba757648ceeed1839df101417a3d9f Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Mon, 1 Jul 2019 12:54:28 -0700 Subject: [PATCH] iommu/virtio: Constify data parameter in viommu_match_node After commit 92ce7e83b4e5 ("driver_find_device: Unify the match function with class_find_device()") in the driver-core tree. Signed-off-by: Nathan Chancellor --- drivers/iommu/virtio-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/virtio-iommu.c b/drivers/iommu/virtio-iommu.c index 4620dd221ffd..433f4d2ee956 100644 --- a/drivers/iommu/virtio-iommu.c +++ b/drivers/iommu/virtio-iommu.c @@ -839,7 +839,7 @@ static void viommu_put_resv_regions(struct device *dev, struct list_head *head) static struct iommu_ops viommu_ops; static struct virtio_driver virtio_iommu_drv; -static int viommu_match_node(struct device *dev, void *data) +static int viommu_match_node(struct device *dev, const void *data) { return dev->parent->fwnode == data; } -- 2.22.0 --yrj/dFKFPuw6o+aM--