Content-Type: multipart/mixed; boundary="===============0743319266620884603==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] mtd: spi-nor: spi_nor_sr_ready_and_clear() can be static Date: Thu, 03 Feb 2022 05:38:55 +0800 Message-ID: <20220202213855.GA31097@9f7316611cc3> In-Reply-To: <20220202145853.4187726-13-michael@walle.cc> List-Id: --===============0743319266620884603== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/mtd/spi-nor/spansion.c:332:5: warning: symbol 'spi_nor_sr_ready_and= _clear' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- spansion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/spansion.c b/drivers/mtd/spi-nor/spansion.c index 4756fb88eab232..242d55e043f08d 100644 --- a/drivers/mtd/spi-nor/spansion.c +++ b/drivers/mtd/spi-nor/spansion.c @@ -329,7 +329,7 @@ static void spi_nor_clear_sr(struct spi_nor *nor) * * Return: 1 if ready, 0 if not ready, -errno on errors. */ -int spi_nor_sr_ready_and_clear(struct spi_nor *nor) +static int spi_nor_sr_ready_and_clear(struct spi_nor *nor) { int ret; =20 --===============0743319266620884603==--