Received: by 10.223.185.116 with SMTP id b49csp859820wrg; Wed, 21 Feb 2018 08:04:49 -0800 (PST) X-Google-Smtp-Source: AH8x2243MrDFXv/IodqEW/e34i0g+VEgU2gmQSxxbrrmotjvecSsAUuTwYbswY7wZU6bGaH6qnYd X-Received: by 10.98.156.148 with SMTP id u20mr3729412pfk.167.1519229089040; Wed, 21 Feb 2018 08:04:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519229089; cv=none; d=google.com; s=arc-20160816; b=td+i1gjrWaYNTRGM+hUy+UANFC+UomxtHC+N7njS3LArmzZxvUD7lZ0pIMtKTNJByP 2vFVYp9SbB9flbP0cMdvACQ6E4hJk12vzlbjOmRZDu9zZ6iaOxpgMVBSMXQHyz1dG5dY ZDVkEopSdE2m1PxrSIW55pZAq/J6jiTNFbo/7pWU3UYLP0/716resQjqd1FYMhN4znU3 B4odcQzI/rf3ef5iIEGGdpIaD3btDUymlJB1ReJmk2rANkH2V7eYbxnic2mpLxFLzszi kp3575t/BQzIlLAyT8xNJfe5Ll2BDlhq2LdXzBEYGgKHFeguhXNtjAYe9JxFGv8pdIN2 bMZA== 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 :dkim-signature:arc-authentication-results; bh=yzbFn8rLvrpe06HgI1m2qt0BSzgT+ii1GrrbPtLpKA4=; b=a2zBKx5eFNvp6s3NRHtPektNvdp6bO5jKKOIpgLlj13AC8x3et7MxLo24Ma1arGAfV NHLHS+h3fK9x4J0bzftJOB26ikX9Lc+LVOcN5aZDhNt0YVTiMnNRziOY5cC5q3tBjsAl GeUNvXdWcL9LBhcYZx8lnwLLN1zGv/4BqVa05F77atO+8lrSSPIPpyKJk+qOViuzJF6E +yKEBeWv7lp0whSyR2mRcVxZtr0mkWfm1IXXkDIXxoFYLCvlR3vuwFca/ZYF9GGID73C nQ9i2MTSBCyak+TZIIjaJAuuOgYKXKLQoYruqDllvb2E6rud/XQnYYUHOmalH7eQG3sc puGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=rBo6LyIR; 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 e16si3590497pgv.581.2018.02.21.08.04.32; Wed, 21 Feb 2018 08:04:48 -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; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=rBo6LyIR; 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 S932263AbeBUJ1l (ORCPT + 99 others); Wed, 21 Feb 2018 04:27:41 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:38884 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932104AbeBUJ1i (ORCPT ); Wed, 21 Feb 2018 04:27:38 -0500 Received: by mail-wr0-f194.google.com with SMTP id n7so2449016wrn.5 for ; Wed, 21 Feb 2018 01:27:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yzbFn8rLvrpe06HgI1m2qt0BSzgT+ii1GrrbPtLpKA4=; b=rBo6LyIRlhdqs3cgsRmHd32GspjOYMVvYXBjOjDsaj8ftdoMNcsoYKFntDwKDoaQ2N 9pY9NpaDEr+IGVRNlng5A1jqYt1itHIBV0GtVhW5OqvfD73BdOSIjHJdhW6ebGaDMlas oSDd2G4MP4j2lsPBt9zxZxi4ZOopEXw+K6NYHeiIUse5Et4D1DuJ4ip7avZx+naqDF7d y+/DbIqsaIb7gEvxOpfjNiQAfRlX0m3q7wQg6bnZcNHs2mJUDu30B2CGe9QjHeZbjOwT VW0ZbBPxvBG8DNczYlQfULnJzbfxFKV2CAt3jAy25tXNGbpKRZtGhSDZEOPYV39IkZyj YtIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yzbFn8rLvrpe06HgI1m2qt0BSzgT+ii1GrrbPtLpKA4=; b=GVGS5u2IqkV+K9ymF+5OyxaBnrT1McVlayLZbdwLXkTqq5rEgAb3Rpoyzbg+fAN2Gd BdguptG/SyLwCC2lgkepyAVppjii63LjEJDvgeKIZ9OQH++gm1cdszjwcWm3NQ1HKMtx 7OOrTz5h/DUS0RcTFVEAxj27aXDCeXjXxaUJnYfAuChD4pZMohtwdii0/+DMIsFZYLSI dTEh8ZYWTgOY1BN+PyQBHsVltJ8GiIn9NBpxLhqxcFMSETTZ/SHoaTTj7hLMx0PD803U hMNCM+kRNHiBoPCNyQq+09zmgCSKpHdKJ695Tlv+IN66v7drLl548b+w00tL70YAqUao DroQ== X-Gm-Message-State: APf1xPAQwNpMp5m76nL/Pbgp2kxHs0vtwMuH7Ik/bdf58moDOBrc2QP9 VSUF9pU1zNUxMRBuhTIQ++ssHA== X-Received: by 10.80.201.76 with SMTP id p12mr4110714edh.199.1519205256858; Wed, 21 Feb 2018 01:27:36 -0800 (PST) Received: from uHalley.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id a17sm3389955eda.42.2018.02.21.01.27.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Feb 2018 01:27:36 -0800 (PST) From: "=?UTF-8?q?Javier=20Gonz=C3=A1lez?=" X-Google-Original-From: =?UTF-8?q?Javier=20Gonz=C3=A1lez?= To: mb@lightnvm.io Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, =?UTF-8?q?Javier=20Gonz=C3=A1lez?= Subject: [PATCH 15/20] nvme: make nvme_get_log_ext available Date: Wed, 21 Feb 2018 10:26:53 +0100 Message-Id: <1519205218-26994-16-git-send-email-javier@cnexlabs.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519205218-26994-1-git-send-email-javier@cnexlabs.com> References: <1519205218-26994-1-git-send-email-javier@cnexlabs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make nvme_get_log_ext available outside of core.c. This is in preparation for using it in lightnvm.c Signed-off-by: Javier González --- drivers/nvme/host/nvme.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index 1ca08f4993ba..505f797f8c6c 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -396,6 +396,9 @@ int nvme_reset_ctrl(struct nvme_ctrl *ctrl); int nvme_delete_ctrl(struct nvme_ctrl *ctrl); int nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl); +int nvme_get_log_ext(struct nvme_ctrl *ctrl, struct nvme_ns *ns, + u8 log_page, void *log, size_t size, size_t offset); + extern const struct attribute_group nvme_ns_id_attr_group; extern const struct block_device_operations nvme_ns_head_ops; -- 2.7.4