From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36E1AC4338F for ; Sat, 24 Jul 2021 21:07:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 08EDB60BD3 for ; Sat, 24 Jul 2021 21:07:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229715AbhGXU1E (ORCPT ); Sat, 24 Jul 2021 16:27:04 -0400 Received: from mga18.intel.com ([134.134.136.126]:27986 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbhGXU1D (ORCPT ); Sat, 24 Jul 2021 16:27:03 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10055"; a="199300401" X-IronPort-AV: E=Sophos;i="5.84,266,1620716400"; d="scan'208";a="199300401" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jul 2021 14:07:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,266,1620716400"; d="scan'208";a="663860395" Received: from lkp-server01.sh.intel.com (HELO d053b881505b) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 24 Jul 2021 14:07:32 -0700 Received: from kbuild by d053b881505b with local (Exim 4.92) (envelope-from ) id 1m7Ors-0003mX-9t; Sat, 24 Jul 2021 21:07:32 +0000 Date: Sun, 25 Jul 2021 05:06:44 +0800 From: kernel test robot To: Tudor Ambarus Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH ambarus] mtd: spi-nor: spi_nor_set_mtd_info() can be static Message-ID: <20210724210644.GA47550@0dc1ce3d6077> References: <202107250549.TfKWkD6F-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202107250549.TfKWkD6F-lkp@intel.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org drivers/mtd/spi-nor/core.c:3126:6: warning: symbol 'spi_nor_set_mtd_info' was not declared. Should it be static? Fixes: 1db04a902d57 ("mtd: spi-nor: Introduce spi_nor_set_mtd_info()") Reported-by: kernel test robot Signed-off-by: kernel test robot --- core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c index 3a71d1358a38f..f43a6b3860545 100644 --- a/drivers/mtd/spi-nor/core.c +++ b/drivers/mtd/spi-nor/core.c @@ -3123,7 +3123,7 @@ static const struct flash_info *spi_nor_get_flash_info(struct spi_nor *nor, return info; } -void spi_nor_set_mtd_info(struct spi_nor *nor) +static void spi_nor_set_mtd_info(struct spi_nor *nor) { struct mtd_info *mtd = &nor->mtd; struct device *dev = nor->dev; From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6341415685403950139==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH ambarus] mtd: spi-nor: spi_nor_set_mtd_info() can be static Date: Sun, 25 Jul 2021 05:06:44 +0800 Message-ID: <20210724210644.GA47550@0dc1ce3d6077> In-Reply-To: <202107250549.TfKWkD6F-lkp@intel.com> List-Id: --===============6341415685403950139== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/mtd/spi-nor/core.c:3126:6: warning: symbol 'spi_nor_set_mtd_info' w= as not declared. Should it be static? Fixes: 1db04a902d57 ("mtd: spi-nor: Introduce spi_nor_set_mtd_info()") Reported-by: kernel test robot Signed-off-by: kernel test robot --- core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c index 3a71d1358a38f..f43a6b3860545 100644 --- a/drivers/mtd/spi-nor/core.c +++ b/drivers/mtd/spi-nor/core.c @@ -3123,7 +3123,7 @@ static const struct flash_info *spi_nor_get_flash_inf= o(struct spi_nor *nor, return info; } = -void spi_nor_set_mtd_info(struct spi_nor *nor) +static void spi_nor_set_mtd_info(struct spi_nor *nor) { struct mtd_info *mtd =3D &nor->mtd; struct device *dev =3D nor->dev; --===============6341415685403950139==--