From patchwork Wed Oct 14 20:52:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 7398451 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2B18C9F302 for ; Wed, 14 Oct 2015 20:53:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4B8FD2086C for ; Wed, 14 Oct 2015 20:53:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5FC12207A5 for ; Wed, 14 Oct 2015 20:53:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754081AbbJNUxB (ORCPT ); Wed, 14 Oct 2015 16:53:01 -0400 Received: from mga11.intel.com ([192.55.52.93]:20325 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753432AbbJNUxA (ORCPT ); Wed, 14 Oct 2015 16:53:00 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 14 Oct 2015 13:53:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,682,1437462000"; d="scan'208";a="811136102" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 14 Oct 2015 13:51:45 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1ZmT1G-000HsN-Qy; Thu, 15 Oct 2015 04:51:30 +0800 Date: Thu, 15 Oct 2015 04:52:17 +0800 From: kbuild test robot To: Matias =?iso-8859-1?Q?Bj=F8rling?= Cc: kbuild-all@01.org, hch@infradead.org, axboe@fb.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, keith.busch@intel.com, jg@lightnvm.io, Stephen.Bates@pmcs.com, Matias =?iso-8859-1?Q?Bj=F8rling?= Subject: [RFC PATCH] lightnvm: nvm_find_target_type() can be static Message-ID: <20151014205217.GA96356@lkp-sb04> References: <201510150404.YgKu7QhT%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1444850524-16827-2-git-send-email-m@bjorling.me> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Fengguang Wu --- core.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/lightnvm/core.c b/drivers/lightnvm/core.c index 9b06d75..7205e57 100644 --- a/drivers/lightnvm/core.c +++ b/drivers/lightnvm/core.c @@ -34,7 +34,7 @@ static LIST_HEAD(nvm_mgrs); static LIST_HEAD(nvm_devices); static DECLARE_RWSEM(nvm_lock); -struct nvm_tgt_type *nvm_find_target_type(const char *name) +static struct nvm_tgt_type *nvm_find_target_type(const char *name) { struct nvm_tgt_type *tt; @@ -123,7 +123,7 @@ void nvm_unregister_mgr(struct nvmm_type *mt) } EXPORT_SYMBOL(nvm_unregister_mgr); -struct nvm_dev *nvm_find_nvm_dev(const char *name) +static struct nvm_dev *nvm_find_nvm_dev(const char *name) { struct nvm_dev *dev; @@ -209,7 +209,7 @@ static void nvm_free(struct nvm_dev *dev) nvm_core_free(dev); } -int nvm_validate_features(struct nvm_dev *dev) +static int nvm_validate_features(struct nvm_dev *dev) { struct nvm_get_features gf; int ret; @@ -223,7 +223,7 @@ int nvm_validate_features(struct nvm_dev *dev) return 0; } -int nvm_validate_responsibility(struct nvm_dev *dev) +static int nvm_validate_responsibility(struct nvm_dev *dev) { if (!dev->ops->set_responsibility) return 0; @@ -231,7 +231,7 @@ int nvm_validate_responsibility(struct nvm_dev *dev) return dev->ops->set_responsibility(dev->q, 0); } -int nvm_init(struct nvm_dev *dev) +static int nvm_init(struct nvm_dev *dev) { struct nvmm_type *mt; int ret = 0; @@ -304,7 +304,7 @@ err: return ret; } -void nvm_exit(struct nvm_dev *dev) +static void nvm_exit(struct nvm_dev *dev) { if (dev->ppalist_pool) dev->ops->destroy_dma_pool(dev->ppalist_pool);