From patchwork Wed Jun 29 14:41:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Matias_Bj=C3=B8rling?= X-Patchwork-Id: 9205469 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8192A60B17 for ; Wed, 29 Jun 2016 14:43:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 724C72866A for ; Wed, 29 Jun 2016 14:43:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AE622866E; Wed, 29 Jun 2016 14:43:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCAA22866C for ; Wed, 29 Jun 2016 14:43:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752737AbcF2Oml (ORCPT ); Wed, 29 Jun 2016 10:42:41 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35417 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752756AbcF2OmX (ORCPT ); Wed, 29 Jun 2016 10:42:23 -0400 Received: by mail-wm0-f65.google.com with SMTP id a66so14847366wme.2 for ; Wed, 29 Jun 2016 07:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bjorling.me; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fKnWkZQ4olWvkNAoZ1Jq8IIw+N9NBjxVag8Bd5hUQ28=; b=L8L6sY2ZNkkLI8VI18dprjAub9kX+T5FYxixHsCKLDOp4znb78L8YoO/iy2SlioSfX sbAV8TsoaNG9yKnrRKgsAORpch4viPzpLuSv0o6xSuKw61zLGeOuaSUWWRO2VAw9GlUq fqkCAw0+hwDtRlShF4LzBaJ72szo9JqXAb4aw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fKnWkZQ4olWvkNAoZ1Jq8IIw+N9NBjxVag8Bd5hUQ28=; b=FSGFuWFwKeSnsOP4Nz85qqzbaEn2vYaPO3DRS9b9gZqBShXff9X1woq6+izZhuIRM0 n85ka7P6H1W0A64eS1LISfEWdemI0FTkipUzqkWXHnNL4AoBrsGzpdlup6StQgJnggJx FHUJYgR7rUfx2APqvF88NZWF4NlhnnwxoSTyl+DBzkaLFzUGmhPi49nSNhB4VInon0CR AETb9SxVCr8jGrzvX6xcI/P8cIGIM4/cG336h0T0d8x3hqeY4hpLV/+IvH+whvvWb/uE Ov2qnhw1LlhTUFp0r94SxLyM/c2kkOw+nUYlirB9dP9pXNiNxaXEYbK6LY1WAtv+VWhH kBaQ== X-Gm-Message-State: ALyK8tIGtULNjkb+/e9O3m0sOLAZ7V834db4/JY+sL5mxmfIE6kKMP8GRXkzkvdyMucQNA== X-Received: by 10.194.120.135 with SMTP id lc7mr8872472wjb.42.1467211337873; Wed, 29 Jun 2016 07:42:17 -0700 (PDT) Received: from Macroninja.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id t190sm5472766wmt.24.2016.06.29.07.42.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Jun 2016 07:42:17 -0700 (PDT) From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= To: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Matias=20Bj=C3=B8rling?= Subject: [RFC PATCH 11/11] lightnvm: make __nvm_submit_ppa static Date: Wed, 29 Jun 2016 16:41:56 +0200 Message-Id: <1467211316-22373-12-git-send-email-m@bjorling.me> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1467211316-22373-1-git-send-email-m@bjorling.me> References: <1467211316-22373-1-git-send-email-m@bjorling.me> MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The __nvm_submit_ppa() function is not used outside lightnvm core. Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/lightnvm/core.c b/drivers/lightnvm/core.c index 00b64f7..9ebd2cf 100644 --- a/drivers/lightnvm/core.c +++ b/drivers/lightnvm/core.c @@ -325,7 +325,7 @@ static void nvm_end_io_sync(struct nvm_rq *rqd) complete(waiting); } -int __nvm_submit_ppa(struct nvm_dev *dev, struct nvm_rq *rqd, int opcode, +static int __nvm_submit_ppa(struct nvm_dev *dev, struct nvm_rq *rqd, int opcode, int flags, void *buf, int len) { DECLARE_COMPLETION_ONSTACK(wait);