Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4193122yba; Wed, 17 Apr 2019 06:35:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoDmq1mw7zAvBKXENT8pKFR2NpAk7c/9UCg6/gE5XdqxgP1q6KX8j4gO3xqgm3GyoXIbVA X-Received: by 2002:a62:ab13:: with SMTP id p19mr91109369pff.131.1555508157612; Wed, 17 Apr 2019 06:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555508157; cv=none; d=google.com; s=arc-20160816; b=c+lhzuyparb5qPd2dtpFr3HF3qFZUcr/m9iC+vPW6fzBN4jFp7m389l+Zq+EKZcuqF aHDRM9KwDIF+x/d7+OuAt1iruEidBMoCaxVYUIny2e+mBcOQnx+pZJtnfBYMnJpko7yg 6/Zpi6Wj8gnd7Nd7TJlFST3Ova7FCZ9uVU8jMDRpGzpVFkc65N1jy7yT/CyXqtSocOLe kqQMiSrdAYD43yG3/x534Odgn9iLoGygTJQzgttsqKHhr2iwmyob4YOD6gMPFgbTj7am 6saBqcM6oCvZmaFlj30Bxt4+8vTEDJoFCrWOzaoMnzJS+QPb4hAaDWheUrppDechP7qV Kv3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=4dU4t2zAYqJdbBVKJvp/2QftExw+SOy8ZE6HDBu2Si0=; b=wCAfJwdnE0mVFeJZ1Uy2lwV4ZMbpMCKSON7yVaEk0X6Dwcmz/v7ACb+fE8vcCNY9mC ezQurS+oq5t0T4TNLK8SXxOqiB9gOktS9bPoi2f57xM4jjiXw8hVY8oyrv8teRQdrGQx DHaO47N23SE2gInK/DT55lWREgC4hQ9nXiv5L63sBXmnnsG8NK7aeY9/q0OET3wV7I+3 9CsCHzbAm7ApVLZYP/HWRl++UtjWhIID0E6kZcAWXZrTzUlCbhcUPqGsQyoVl7VKaQFv iki3z82WU8QvprJ2bSBp8/60Al1vfdc1O7op++hmGytrK4poczArmsWTIT40qyZT8KJo rqgg== 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 g7si29478686pgc.313.2019.04.17.06.35.42; Wed, 17 Apr 2019 06:35:57 -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 S1731959AbfDQNd2 (ORCPT + 99 others); Wed, 17 Apr 2019 09:33:28 -0400 Received: from mga02.intel.com ([134.134.136.20]:44407 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729395AbfDQNd2 (ORCPT ); Wed, 17 Apr 2019 09:33:28 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2019 06:33:27 -0700 X-IronPort-AV: E=Sophos;i="5.60,362,1549958400"; d="scan'208";a="135118226" Received: from jkrzyszt-desk.igk.intel.com ([172.22.244.18]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2019 06:33:25 -0700 From: Janusz Krzysztofik To: David Airlie , Daniel Vetter Cc: Maarten Lankhorst , Maxime Ripard , Sean Paul , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, janusz.krzysztofik@intel.com, Janusz Krzysztofik Subject: [PATCH] drm/drv: Fix incorrect resolution of merge conflict Date: Wed, 17 Apr 2019 15:32:31 +0200 Message-Id: <20190417133232.16232-1-janusz.krzysztofik@linux.intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit f06ddb53096b ("BackMerge v5.1-rc5 into drm-next") incorrectly resolved a merge conflict related to a patch having been merged twice: - commit 3f04e0a6cfeb ("drm: Fix drm_release() and device unplug") introduced as a standalone fix via drm-fixes branch, - commit 1ee57d4d75fb ("drm: Fix drm_release() and device unplug") applied as patch 1/2 of a series on drm-next branch. That incorrect resolution of the conflict effectively reverted a change introduced to drivers/gpu/drm/drm_drv.c by patch 2/2 of that series - commit ba3bf37e150a ("drm/drv: drm_dev_unplug(): Move out drm_dev_put() call"). Fix it. Fixes: f06ddb53096b ("BackMerge v5.1-rc5 into drm-next") Signed-off-by: Janusz Krzysztofik --- drivers/gpu/drm/drm_drv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index e87799e3e7ff..50d849d1bc6e 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -508,7 +508,6 @@ void drm_dev_unplug(struct drm_device *dev) synchronize_srcu(&drm_unplug_srcu); drm_dev_unregister(dev); - drm_dev_put(dev); } EXPORT_SYMBOL(drm_dev_unplug); -- 2.20.1