Received: by 10.223.185.116 with SMTP id b49csp3742199wrg; Mon, 26 Feb 2018 05:24:54 -0800 (PST) X-Google-Smtp-Source: AH8x224DlNT5dTB3AlWSLr2a94fIH9kIjb9iRtPB3YqsQvINkUiDJ37wpwm+PPujELeFspaHJfAz X-Received: by 2002:a17:902:b904:: with SMTP id bf4-v6mr10444086plb.195.1519651494273; Mon, 26 Feb 2018 05:24:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519651494; cv=none; d=google.com; s=arc-20160816; b=I9ZjGrodybc7fPYDKRpQCSR6E1WmZG7zM5PZKwmh2l9Wvq1ym9ttfArHsQezqYVzOI xce3EXHCG1qzqIUB7tVl/JyK8zfKfIRRUfUtlH58tiyUETP2VkGgBKO3JLIfoLU0FVOy GAP/EN5UlkjmRZ3Qwd9uhEFn4u3hZsCWmd637Lk5kBaHFRxZetry7fKlYBdLpmYr7YX0 pUr/HsXdp1MQdkp0ea7IAptWyI+gfolSPBTiCO3G6ZyIvWnD6YSW2NmFCdyhMNpR/LGS 9Rlx1nnUYkRk6GbA6f76ZD1lZCsf62EyyzppLuHHjliKOsozKLSf6vSJb928znkd4/+3 p3QA== 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=OZTgVSdL3AawbbLhsG74F02A0f6YbcdGkrELIKYfoxh1O5IOBuWsHK4PLW+bm0MLeM sc983A2OXxWslXPWY7fq5urAlyH0EDKr7pzsAcRrlvtFp8xaeSH9uEOwfDeWnyb1wqmn uLcUHF9EVZ/8JTlQsc946fIXgD5ZSGnrl/onjRtS5wqn1qdg5TBB5qHziOTLPyZjU0Ps t5XvtIJ3Mrc4ZuumQA3YzcZU48XPy4EQnGyEUlWRLIlRaV+lwBDQoVbbyYcOXoZHKLcK Ybh6C8uHCNWxsdgI+tQrTHb2SNrB+tFnH/c8RxHtTSixo+MK+8PTa1VksPah2NAUgj1U LtEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=YJ4NoCMd; 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 r3-v6si6847405plb.197.2018.02.26.05.24.39; Mon, 26 Feb 2018 05:24:54 -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=YJ4NoCMd; 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 S1753280AbeBZNW5 (ORCPT + 99 others); Mon, 26 Feb 2018 08:22:57 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:38048 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753271AbeBZNRp (ORCPT ); Mon, 26 Feb 2018 08:17:45 -0500 Received: by mail-wm0-f66.google.com with SMTP id z9so17093325wmb.3 for ; Mon, 26 Feb 2018 05:17:45 -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=YJ4NoCMd3CXaVdtj1poveq6us1fJdvsofkEhcENtG+CH41WZiR1VOvnMyDa2FGKvDK 5gVawOTQ8ozToX7s6hkA1K6GXeKljPa83DB/NBUtxCu6S73w6KpPFmSx44GOJa2/Ibat L6/HJ4F1VIGsWH37iaPRpV3mD3Io5bE9RM4mQ4AHtHdCNj5tN5lDk6lcacY+GVR4VNfV VNhTmN1CUmT/yTa6J6o6finiNLuTHWxpdybSD69ufvCKMO6EknXpiAhPHTpRgHkSgaqQ 5KbNRtlsaC5AjWkm87yValpUO5jfykBqdzs6UU9dC18HtEvH4zTsiScBbZx+NClnRMKe Oodg== 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=KDKBcJAuhPUI+AxWhkBdkCUP/UT2ddoXDN7LGe9kQStAFTTAK64OzPdU/JmL5cfLf6 ONdvqxrkC91sPGmry0ny2suTH8Jib0QLKx8oHbaw6d1SwpelvPm21wawAEjY9hfzARuU TGH7cFYINgG4cDB49BLIQK3t92heLZtcQrP9/fVjg1fAb226wXD4012tOTbb1jNMx5mb A1hOXXpg+jY8+toEFdKTyQAOOqmWEBa/ffbhaHxv4ZRQtKdNzlzqonSdHLr+IbOyCXyo GEqTyRcfzfpa3Hw7UQyeAugxaiFGWbpzkUx5bgOJmbMAwN6CqgEZZNVYKZFcTNG1MvjM xQyQ== X-Gm-Message-State: APf1xPAR1LIMpUYG7NA0ulBbkQSuie2Pz4jq0J9uj3uEFDUCRsZ1cO4x RgUAGPJ8KuBDrOAJbmXL0Ex36w== X-Received: by 10.80.182.245 with SMTP id f50mr14578198ede.157.1519651064477; Mon, 26 Feb 2018 05:17:44 -0800 (PST) Received: from uHalley.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id g59sm7097451ede.19.2018.02.26.05.17.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Feb 2018 05:17:43 -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 14/19] nvme: make nvme_get_log_ext available Date: Mon, 26 Feb 2018 14:17:13 +0100 Message-Id: <1519651038-16845-15-git-send-email-javier@cnexlabs.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519651038-16845-1-git-send-email-javier@cnexlabs.com> References: <1519651038-16845-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