Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1891207imu; Thu, 24 Jan 2019 03:53:09 -0800 (PST) X-Google-Smtp-Source: ALg8bN6lydR9Z2wjALSBbaWlX/9rGiHIfbMnmREqE2PDo66SebHA1cX/sqq9Bly2euCV6Ftevngl X-Received: by 2002:a62:345:: with SMTP id 66mr6128545pfd.189.1548330789823; Thu, 24 Jan 2019 03:53:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548330789; cv=none; d=google.com; s=arc-20160816; b=ksvWj0wVuYgvyaZs4qhBy0s9oNuiictqygXnDxmlIccdPzZ3na87/Jxunf7wLJHiLr dTKM7rM+okp4eWu8WE35XkEwEtOuXCesr2GaptFcuCMNmnDYelW0ULny8KP3eNzItczK CxIUyU8wSX6uBf8f/E2BSxxlJQ3vhgBYOlR1wtIJrZBujwMEpcN/7T1yCDuNqESCv5Cf kYciJu39wl53IRndr7T/2VsMkAGF0WF7r2t8GwH+R23WARI3FCXVNsxEUPogyRN/k+do na1Z+kibcXGO0Drj3aIAGQSDRYnUjvKz/VLZ45BGgoaq4b8wBfPSHgCxmXEDcX8iLMsh UlZw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=d8sMXB5CJpGJOKrbngvBtT0vWmi+JIAsVomaBeOeb5U=; b=X0FtDV2EHMdGJvjCgOyg6Qx2/6LyzgEx0g61rebQj6FIuNjC0R6a8JJkemA+CBI3QU tUsdulEBfl2V4u8aIHps7t5DZM8eg99sb0zKvRi8Qt1QzTwck6kpjcEnZUospsT7pW3U 3tm88qilL/z9QJDjKYP3Gjf4l0Fi2H9ITKWiPQ685ayeVMhVRxq8i+KY9aMn/U7f5b0v 9MgguiRzZV6caAkR7gk8Da1PyzV8NUHTSF2aRyjnvyxAhUmAUA5XcdNPFZWWBKxZSCxQ L3JJe2f1b9VLoEjMwQMGEoSwJBtDfIXhSNV3jk/ko9I4OUr6ZVBsbvGRztTMbdwUGpYJ nSXw== 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 37si23239571plq.210.2019.01.24.03.52.53; Thu, 24 Jan 2019 03:53:09 -0800 (PST) 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 S1727704AbfAXLwM (ORCPT + 99 others); Thu, 24 Jan 2019 06:52:12 -0500 Received: from mga07.intel.com ([134.134.136.100]:31002 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727455AbfAXLwM (ORCPT ); Thu, 24 Jan 2019 06:52:12 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jan 2019 03:52:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,515,1539673200"; d="scan'208";a="138378895" Received: from twinkler-lnx.jer.intel.com ([10.12.91.48]) by fmsmga004.fm.intel.com with ESMTP; 24 Jan 2019 03:52:09 -0800 From: Tomas Winkler To: Greg Kroah-Hartman Cc: Alexander Usyskin , linux-kernel@vger.kernel.org, Tomas Winkler , stable@vger.kernel.org Subject: [char-misc 2/2] samples: mei: use /dev/mei0 instead of /dev/mei Date: Thu, 24 Jan 2019 14:45:03 +0200 Message-Id: <20190124124503.17067-2-tomas.winkler@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190124124503.17067-1-tomas.winkler@intel.com> References: <20190124124503.17067-1-tomas.winkler@intel.com> 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 The device was moved from misc device to character devices to support multiple mei devices. Cc: #v4.9+ Signed-off-by: Tomas Winkler --- samples/mei/mei-amt-version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/mei/mei-amt-version.c b/samples/mei/mei-amt-version.c index 33e67bd1dc34..32234481ad7d 100644 --- a/samples/mei/mei-amt-version.c +++ b/samples/mei/mei-amt-version.c @@ -117,7 +117,7 @@ static bool mei_init(struct mei *me, const uuid_le *guid, me->verbose = verbose; - me->fd = open("/dev/mei", O_RDWR); + me->fd = open("/dev/mei0", O_RDWR); if (me->fd == -1) { mei_err(me, "Cannot establish a handle to the Intel MEI driver\n"); goto err; -- 2.20.1