Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7203641ybi; Mon, 8 Jul 2019 16:51:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBAwzLYQGpdFW9VgmZO/dw8lcclJGYsWG0HzEHPuV2cVNmf84BZLTcNEZughJYQqX5UVLb X-Received: by 2002:a17:90a:fe5:: with SMTP id 92mr12652333pjz.35.1562629906999; Mon, 08 Jul 2019 16:51:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562629906; cv=none; d=google.com; s=arc-20160816; b=0ZDu2n9PA/I9YihdDtnJt4dqNa2FCvGtzwj/Ml9gFGM/R5YccGslMgLdDQC/iD9Hxo B54XSKNpMU/O2fuh9lLu716e4IrgfqBNs0b99+wx0M/Oe52kzqzvWgPneTDcIKZXwdrI T4SkHGTar0W/0qag01Hw6B5+btdslOE+2BIeGHo0tOTpD2uRokIY8V//Hj5DcyuXnZQO AlbwlxV9xucWd/eFrwXOwjsKIHSPa+QiVFdZimDT1MPjUFt5mi7zBKnaMLeWNO41Sidb UM0uC2zVsZM5W1AvYfKPksl0BbdX9SwF1H80ZgOdk/grLYBvAOZ7okBhBREjsJIxbVhc hvcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=jbBsPbr7PQ3idHLHltZ79bdL5FsERchFaRXDs28ikTM=; b=zNMkhgcANJ7eXvLjPhgzfn6HOhl2yIdWLa9j51h3a/xBiji9uNkwH4n0TYRX4Iba8J HBv3EQs405m5SsEuShmQT6yN0oBpgce2+McI7IwE2EyInsPWCLJ5dY27aDH0IunEVQdD vNlUg7qIeQxZc8DHCD0KGEwfr94abE2oLtoH/XtifvHZw/u1xakd2oyu3kGje6ETuTSt SwrqDDKG9B52yF/KTzdb+l6PeLoBYyHy3Y8kmV3uKN7HULLG6EnXqIQOFDh/KA+wr31T /3z+sHfZnJFG9iY8Ct+W4kCG41m3Ogm/5cWn2YFUE43/VESjhR8DBMczaDxlyStwOyg4 i/NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=KzDK+Xwa; 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 l62si18854047pgd.24.2019.07.08.16.51.32; Mon, 08 Jul 2019 16:51:46 -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=@canb.auug.org.au header.s=201702 header.b=KzDK+Xwa; 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 S1726294AbfGHXvM (ORCPT + 99 others); Mon, 8 Jul 2019 19:51:12 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:60271 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725840AbfGHXvM (ORCPT ); Mon, 8 Jul 2019 19:51:12 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 45jMfP5VVpz9s7T; Tue, 9 Jul 2019 09:51:09 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1562629869; bh=bYmBK4EokF7DN4syu8N8YtdLfwRCXocvmrL9sk0VEOc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KzDK+XwaUJjc+f0mDmngBWk9uzTJoSjERVPn5osWvXc4hj1r+inr6Ctl/Kt5GHXVr 3lA6ku7aA2NvTF/7bgXeFKBBXjSq6xbNi96xiVvK+WlCjO56zrG284wuZK+p0/qgQR D2p0JmFS731d9OjVHLYTtrg+PrDsGbxIVMLoEfbob86v75dU4+JHJl0y5PqpMQRbv8 G9tZ8DRpg4KFv5OeVv5Y6MyfNegOT7ZdCPaSFWjgPh3VILjOejFNREJj9fskKmjeeU 2GbgbBFRvpIcVXrhjy7usJBgCf3zRhMftQsbqsdrY944IbRlJfR+QsduBj7lVFKAIo 6BO8DvkcMEjUQ== Date: Tue, 9 Jul 2019 09:51:09 +1000 From: Stephen Rothwell To: Greg KH , Arnd Bergmann Cc: Linux Next Mailing List , Linux Kernel Mailing List , Vitaly Lubart , Tomas Winkler Subject: Re: linux-next: manual merge of the char-misc tree with the driver-core tree Message-ID: <20190709095109.3b75679b@canb.auug.org.au> In-Reply-To: <20190620153552.1392079c@canb.auug.org.au> References: <20190620153552.1392079c@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/JAf6ezzsaM1jlJtn1/V9/8e"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/JAf6ezzsaM1jlJtn1/V9/8e Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Thu, 20 Jun 2019 15:35:52 +1000 Stephen Rothwell = wrote: > > Today's linux-next merge of the char-misc tree got a conflict in: >=20 > drivers/misc/mei/debugfs.c >=20 > between commit: >=20 > 5666d896e838 ("mei: no need to check return value of debugfs_create fun= ctions") >=20 > from the driver-core tree and commit: >=20 > b728ddde769c ("mei: Convert to use DEFINE_SHOW_ATTRIBUTE macro") >=20 > from the char-misc tree. >=20 > 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 > --=20 > Cheers, > Stephen Rothwell >=20 > diff --cc drivers/misc/mei/debugfs.c > index df6bf8b81936,47cfd5005e1b..000000000000 > --- a/drivers/misc/mei/debugfs.c > +++ b/drivers/misc/mei/debugfs.c > @@@ -233,22 -154,46 +154,21 @@@ void mei_dbgfs_deregister(struct mei_de > * > * @dev: the mei device structure > * @name: the mei device name > - * > - * Return: 0 on success, <0 on failure. > */ > -int mei_dbgfs_register(struct mei_device *dev, const char *name) > +void mei_dbgfs_register(struct mei_device *dev, const char *name) > { > - struct dentry *dir, *f; > + struct dentry *dir; > =20 > dir =3D debugfs_create_dir(name, NULL); > - if (!dir) > - return -ENOMEM; > - > dev->dbgfs_dir =3D dir; > =20 > - f =3D debugfs_create_file("meclients", S_IRUSR, dir, > - dev, &mei_dbgfs_meclients_fops); > - if (!f) { > - dev_err(dev->dev, "meclients: registration failed\n"); > - goto err; > - } > - f =3D debugfs_create_file("active", S_IRUSR, dir, > - dev, &mei_dbgfs_active_fops); > - if (!f) { > - dev_err(dev->dev, "active: registration failed\n"); > - goto err; > - } > - f =3D debugfs_create_file("devstate", S_IRUSR, dir, > - dev, &mei_dbgfs_devstate_fops); > - if (!f) { > - dev_err(dev->dev, "devstate: registration failed\n"); > - goto err; > - } > - f =3D debugfs_create_file("allow_fixed_address", S_IRUSR | S_IWUSR, di= r, > - &dev->allow_fixed_address, > - &mei_dbgfs_allow_fa_fops); > - if (!f) { > - dev_err(dev->dev, "allow_fixed_address: registration failed\n"); > - goto err; > - } > - return 0; > -err: > - mei_dbgfs_deregister(dev); > - return -ENODEV; > + debugfs_create_file("meclients", S_IRUSR, dir, dev, > - &mei_dbgfs_fops_meclients); > ++ &mei_dbgfs_meclients_fops); > + debugfs_create_file("active", S_IRUSR, dir, dev, > - &mei_dbgfs_fops_active); > ++ &mei_dbgfs_active_fops); > + debugfs_create_file("devstate", S_IRUSR, dir, dev, > - &mei_dbgfs_fops_devstate); > ++ &mei_dbgfs_devstate_fops); > + debugfs_create_file("allow_fixed_address", S_IRUSR | S_IWUSR, dir, > + &dev->allow_fixed_address, > - &mei_dbgfs_fops_allow_fa); > ++ &mei_dbgfs_allow_fa_fops); > } > -=20 I am still getting this conflict (the commit ids may have changed). Just a reminder in case you think Linus may need to know. --=20 Cheers, Stephen Rothwell --Sig_/JAf6ezzsaM1jlJtn1/V9/8e Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl0j1u0ACgkQAVBC80lX 0GyhyQf9FQt0FBrBQjpamrC9fp5pVC77qxrBjEZB6lJ/sEOJROGM2c+9vui6LvWX Z/WbXzvpJ1texDifmB76cIlv6bsefhxzIKxBF4fC7ty4NOWATvHYJ0EqyLA8PjeO lRrYLDOxpDz76Mvcy0L44+vdSOLuXa+XQwX2vE2JOE+7dmJOSyQVe+iy0V5jVcph 6jAtNw7j5fbwgxyd1/EM/0CSLMk0GNbnTBpED/pGyD+3/s7tgDln3e/4qoVaSqME VEmjdtPxuScc7pylRr8vdN2vT7k8Ds9UidHoid/UM2sh8qhJNjyDKC94+gNVMVen Sc0KDDTIm4UH9GdYy5HG3V/MbMDI3g== =JMsA -----END PGP SIGNATURE----- --Sig_/JAf6ezzsaM1jlJtn1/V9/8e--