Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1516757ybi; Wed, 19 Jun 2019 22:36:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1p853PppOR82e6H3Xt0fsxMT7Shoe6L68X1zq5seGIUUrmIthjZJwM4bJaTknE8Y7ER9p X-Received: by 2002:a17:90a:9b8a:: with SMTP id g10mr1183256pjp.66.1561008981190; Wed, 19 Jun 2019 22:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561008981; cv=none; d=google.com; s=arc-20160816; b=INfJ/oz/dyKII3i/nvUU4UKm1ikDGfqM/U1zu6QRD5WjajpOazgspzBPE52dEe8Ii6 GnR9eNMCUhjA5WF9cKfIM3pEtdTtXutxCSVnokIxfVDBuSdUzeNO7R1F/OLwHljwYy9S YF8nCEEJPRj3lnEO5YRbtPofVlQn6RaK04uR25e606mXzgi4CAZeZH07PbMaUnjq716f MpgmIb7ASM+ZBQDtISTgtl1gSmo8cZW0VYfAbqjqup9Wfjk+gasIGe6U0XF0VJZS/L3k Po7aoZWTu9K++d2GWsL/3EJ/iyeq2xa/HHw9UEuB3lFOSNDyY0MtRJbfReL8hSkprwHv 37Rw== 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; bh=uVcg44JEW/WklRPRJO+fw3nbnK19l9vxeH+pvxUk7Wc=; b=dr8trAZyqWkyf4ANCxqUsi0BxpchQFFKpJf0oIDWp6vrBWkRLLLEBaMdMV5+IkRQp9 snGYk6iDPL+N+/e3LtWVhD96wXq4lBDXeQaXkUJ4TJUj8T2Tw9z+eF0aBu8mczFOVYbS avQXLIpQ+vO9JvHVB8PChHuTwzY7QHJ0/kWWT7PjnDtWtwAcN0X69TJCWhj2S3zXL0JA kGyAJ2QaFSrPz7x05C9Ww/eJhNsI4DU3GUmy1H5+gDyjmQsmoKLXH09YyqPJQKVMPb6s s2vVDBgRCDQw/WhHMerrwzWBohaLLHNSHqiVBXNvL+2bsN6P9xf7knaHMphq4ozyOVlL UOwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=pC4+y7YC; 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 129si20065892pfy.160.2019.06.19.22.36.04; Wed, 19 Jun 2019 22:36:21 -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=pC4+y7YC; 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 S1726370AbfFTFgA (ORCPT + 99 others); Thu, 20 Jun 2019 01:36:00 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:48939 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725889AbfFTFf7 (ORCPT ); Thu, 20 Jun 2019 01:35:59 -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 45TrBz584Hz9s9y; Thu, 20 Jun 2019 15:35:55 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1561008955; bh=BAOsWHXplhcuCubfT/o1yBKF/KCS9Illdvf1ACDj3Bs=; h=Date:From:To:Cc:Subject:From; b=pC4+y7YCRKkwruqlY7wAyuqryJZfl4tcfQX3L+PPloekb1WCl3TtX6Qr5cELc22FK KbzoqYoNgBVDT5i80A4A0ElpNTRE/S5TmBaLKhDlKuqNtn81UZmQYIB3NdnF5vhpzZ P1aYf1x5cOWdC3NK9/hHgWMuP+s8dlkjqordM6zGBpaulMsN8NAbvFZU6cVr4BavsX dknI196yA3oe21Bd22yY8tJTLoasFCsBOViPu/bDQA2KK5HqTMXOBClZt35tHSCD8t gj9QncIvC5fTHpX7u+xblzkWIc85scKQwmV+4iIrTB6ye+5ua4viHTnYWynrK6g2tP EIrlPytbXTxTA== Date: Thu, 20 Jun 2019 15:35:52 +1000 From: Stephen Rothwell To: Greg KH , Arnd Bergmann Cc: Linux Next Mailing List , Linux Kernel Mailing List , Vitaly Lubart , Tomas Winkler Subject: linux-next: manual merge of the char-misc tree with the driver-core tree Message-ID: <20190620153552.1392079c@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/s4hH9bWg9WYbiPbQg4cMoeu"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/s4hH9bWg9WYbiPbQg4cMoeu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the char-misc tree got a conflict in: drivers/misc/mei/debugfs.c between commit: 5666d896e838 ("mei: no need to check return value of debugfs_create funct= ions") from the driver-core tree and commit: b728ddde769c ("mei: Convert to use DEFINE_SHOW_ATTRIBUTE macro") from the char-misc 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/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, dir, - &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 --Sig_/s4hH9bWg9WYbiPbQg4cMoeu Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl0LGzgACgkQAVBC80lX 0Gx+/Qf/S15uY6Nn5ycxBmC3UidN6Uf+3Pj/x4SMY2uGl7t0VgNceWCt0jw3ltbA q8j2KbhW7Qb0exvqptpwllSfmURa58UVBmJKZtM4KSOUCBCEGf1hfSebhjSrLjSE PIt/1w8wkImag0yJEKYQUKQf6fy6L2USTYJUUl+02igmha+vw05+wFuQMBsbG36G 1sHUiCRosU3ZVvlnGVniFhcVOsAV4up7rckKop2iwQ8AmjgaKBDqJ89qh/ry12uA 4QYU9N6KdGzNvCsldDH5eyRX16lKAuXCZ7G4WdB2Oquo+oOvQCPY3E2kmhgtzscm Y/ZivqOFhflKtmvT88WAS2tkU0Nqig== =r+OW -----END PGP SIGNATURE----- --Sig_/s4hH9bWg9WYbiPbQg4cMoeu--