Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7557713ybi; Tue, 9 Jul 2019 00:18:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwos0lzsZIfJ+BXvY3NacqdQhg1ExYq4EntVcU/JKth6JUsEF8DO85oiwPz5rKjW0sLQhwU X-Received: by 2002:a17:902:a40c:: with SMTP id p12mr30210369plq.146.1562656680530; Tue, 09 Jul 2019 00:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562656680; cv=none; d=google.com; s=arc-20160816; b=BJjSUIEBIdTXDPi0qXuLA5qZo8dDLOFBsjiV8Wcx0U1V+BDBM6BWluE/6ZWE0HeNoy 9xAme/Fur8RKelAfZUQh+lYX5YhOECM175Lg+sSZ0bl5qqPOlF4v266o6rYkXHHs88c/ 9T1++f9oaTsxLG4zrYNJfawHnGd8eEZJ4DLMdFL24FkBR1kAC/Pw/wFkVbY05urd790B r9/V9rr5RLi7J4LQuIdb12nxUCiZH0fOALJGxamaKRz4YSK0gfvPJN+nW7iphOai27Eb l34P/tCSyeT0Ago74PahELLwrC7X/dkVYekjeaix/GaAY5R5ldMDJQtu9giE4fj1L2+M 5A0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=XKyec4g2vRPx+vwo8L5UWRcaIdAALjcyeVYFYcYSLxw=; b=ewz/+jQ5u42CnZMygn9l2Wm8/TPxgFxAxrBKmv7igty5IGwqVcdw5DiOa79x4E2CRX DsLEcuKutcpEjLivAnwW9uQ00TP5N2ZUWuRurN5tmbZWRRZkmtgZrE7zvdRcSrnae20A t2y+Vl0D/GTn7+ARLVzNA/BfU8cGUJt3uivXtF3J68S5X/l0ER6+tzORBPgAbRF0Rl8h 5pwQsosJ5lugYL6EmmzA40KM61l8kI8EDqAozBRbHdXaNv8DH+CZ/ZhZIM1dE6c7SWTN 7Hu8EONml4SSg5GQhirwEpUjMaE/YtSaf3hNbraQ4TuedHEtBdX4FC10UirP/bhrt5Oz QZtQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n22si23045386pgj.474.2019.07.09.00.17.45; Tue, 09 Jul 2019 00:18:00 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726371AbfGIHNG convert rfc822-to-8bit (ORCPT + 99 others); Tue, 9 Jul 2019 03:13:06 -0400 Received: from mga14.intel.com ([192.55.52.115]:44877 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725895AbfGIHNE (ORCPT ); Tue, 9 Jul 2019 03:13:04 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jul 2019 00:13:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,469,1557212400"; d="scan'208";a="167898846" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 09 Jul 2019 00:13:01 -0700 Received: from fmsmsx162.amr.corp.intel.com (10.18.125.71) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 9 Jul 2019 00:12:38 -0700 Received: from hasmsx107.ger.corp.intel.com (10.184.198.27) by fmsmsx162.amr.corp.intel.com (10.18.125.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 9 Jul 2019 00:12:37 -0700 Received: from hasmsx108.ger.corp.intel.com ([169.254.9.15]) by hasmsx107.ger.corp.intel.com ([169.254.2.129]) with mapi id 14.03.0439.000; Tue, 9 Jul 2019 10:12:35 +0300 From: "Winkler, Tomas" To: Stephen Rothwell , Greg KH , "Arnd Bergmann" CC: Linux Next Mailing List , "Linux Kernel Mailing List" , "Lubart, Vitaly" Subject: RE: linux-next: manual merge of the char-misc tree with the driver-core tree Thread-Topic: linux-next: manual merge of the char-misc tree with the driver-core tree Thread-Index: AQHVJyoWchJOzGveSk+BQ8pCoENHp6bBT2iAgACmBpA= Date: Tue, 9 Jul 2019 07:12:34 +0000 Message-ID: <5B8DA87D05A7694D9FA63FD143655C1B9DC6C94D@hasmsx108.ger.corp.intel.com> References: <20190620153552.1392079c@canb.auug.org.au> <20190709095109.3b75679b@canb.auug.org.au> In-Reply-To: <20190709095109.3b75679b@canb.auug.org.au> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzU5YmExN2QtOGVmNS00ZmJkLTkzMTEtNGRhOTY2YWE0MDc4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiR1phODdEQ0dUSDA3WFA2ckhJMFQ3blpySUN4RDdVODEzYmpOc0liWDFBVTJaZENhdTlBVjNTZ0x5RjJ5K1VUaiJ9 dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.184.70.11] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > 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: > > > > drivers/misc/mei/debugfs.c > > > > between commit: > > > > 5666d896e838 ("mei: no need to check return value of debugfs_create > > functions") > > > > 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. > > > > -- > > 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; > > > > dir = debugfs_create_dir(name, NULL); > > - if (!dir) > > - return -ENOMEM; > > - > > dev->dbgfs_dir = dir; > > > > - f = 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 = 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 = 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 = 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); > > } > > - > > I am still getting this conflict (the commit ids may have changed). > Just a reminder in case you think Linus may need to know. The conflict is resolved correctly, the conflicts are between Greg's misc-char and driver-core git trees. Actually I've asked Greg this git expertise question: how the **exact** conflict resolution is carried between git trees (before it is finally resolved in upstream for all.). For next time If anyone has the answer, please let me know. Thanks Tomas