From patchwork Thu Jul 7 07:54:23 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: 9218035 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 95E1F607D9 for ; Thu, 7 Jul 2016 07:55:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B1BB2878C for ; Thu, 7 Jul 2016 07:55:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 800D22878E; Thu, 7 Jul 2016 07:55:30 +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 141E22878C for ; Thu, 7 Jul 2016 07:55:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933286AbcGGHzF (ORCPT ); Thu, 7 Jul 2016 03:55:05 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33996 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933245AbcGGHyx (ORCPT ); Thu, 7 Jul 2016 03:54:53 -0400 Received: by mail-wm0-f68.google.com with SMTP id 187so3535533wmz.1 for ; Thu, 07 Jul 2016 00:54:53 -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=whIu2gHdVpcRvZpAu+fnTcDyT4kGMjjNIsJT4Yfv5dW0U7T387z9vuim89u60GBYr9 ZEW+P7oueg0BMb8mqFyLWOZnQwzXebuZy+Xa1XpNg1op73z2ys0+CS6mXAxfrIZNt4Xl r9Ww7FQ1THhnZOFTt82MwMzYf5DNt+xjvz18M= 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=cXBKP15W8S63j1ezDKul+LbkgZBmAWer72njmtBYmdCU3/bfzuQMsDOIvvETNbD55V NJN1vdL2USW0qFuHDtLRraNM8w7ky7kG1yD7SFhveM0XOmPcnHbKvsSyoWdtOlW03nYL fFMQPpEBAsCH7KuZTU6DDy+T0bOUWsX/NeK6KAOzlGfRbtqg8dRadc+t7CarHkOeDU2l hNHNTUxKM38rECr96a6Du0yFFL+ozG7PtKdWhAqFtBA4lvlMh7fsDjj2cJrYC9vUUlFR v7//BbSXBe2ceQ2yaOv9IAgNu0JKIuxGEulElX7EtZFOBAUVq1DuRG7sdwkxEeVo3kJ9 ob7w== X-Gm-Message-State: ALyK8tKofmym6TGN5oYE17UkftyLS4HyHkFyTIVitHE9ad4uLABFw3z6nGNSUYL90SDvfA== X-Received: by 10.194.220.234 with SMTP id pz10mr14887193wjc.142.1467878092621; Thu, 07 Jul 2016 00:54:52 -0700 (PDT) Received: from Macroninja.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id i74sm1654796wmg.21.2016.07.07.00.54.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jul 2016 00:54:52 -0700 (PDT) From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= To: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, axboe@fb.com Cc: =?UTF-8?q?Matias=20Bj=C3=B8rling?= Subject: [PATCH 17/17] lightnvm: make __nvm_submit_ppa static Date: Thu, 7 Jul 2016 09:54:23 +0200 Message-Id: <1467878063-22919-18-git-send-email-m@bjorling.me> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1467878063-22919-1-git-send-email-m@bjorling.me> References: <1467878063-22919-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);