Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp129228ybz; Wed, 15 Apr 2020 05:54:04 -0700 (PDT) X-Google-Smtp-Source: APiQypL4uc1WHOLzGQZ83o3q9+hhsVBRjOE+Bmfc7WYtzWf2DISv0P20dt8HZfej82EqQATUh4Fe X-Received: by 2002:a50:d78a:: with SMTP id w10mr25271403edi.356.1586955244229; Wed, 15 Apr 2020 05:54:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586955244; cv=none; d=google.com; s=arc-20160816; b=ffkzwyej6TpJM6t3fTnEMoVv9qHzvwTDkmF2VIszVudIa2mcl2mD7MTislbXc/DKmf nHoVrQjgDXeifyq69pDMns7UAP4qBO9LCbhVRnsolevABtixL08P4i7JDflgXzHSJVeA sGGxnJrc9Yy86AHEn/1aPduihWAU04+O50b8005HVBjABYX6SPhMezFiQoLDZ4f6IXZj oLr/lcrvm23nw1QDMJrwdQeZ1SasYGUhgh6JrnWFHiOsLeJbxn9X05YzzZCl6KBwCHeH W7Z3ORrCpgjavVlHinZ4oXS6bANGXPDqQvFuNPWOacq1gW6nV/9OU9jpRpHVmWEOh/dY i7Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=ucpY0ybsFLFZdVpL0mRiKwT0OyEuhwsrpnlKQ6o9HRg=; b=hz0+pIpP3TLPykNAoDelWRyyQdAMbIBn8YzQSBLDn42pc+6DdFc33+bRg+lArjXD0U BrHHvb7NR8BoBGOjVisD8OpY0C4kSRDS9El1dixqU2Gp51TfGYPi0+pIZpmui0x7Z3ju z44xNlQh+TatQ7sO6ty+a389xaPl0i6jyLlrCGSg/RMHPDR4Ipdamu41w2nXrv8qx+uD rWpXqr5fZBtOn5OXcVW9wEctMFkXFLhHXO3yAzAZ4bZGITc4z/psG8ikTU7znHOcGzIz wGA/2UvSe79KwiuqB9YHMmTGfv5zYzY9TTOjsdwQY+FeX9LBNcytggpOkZmYW0XpZTpX KKGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="0b/WcdPV"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a32si11059567ede.140.2020.04.15.05.53.39; Wed, 15 Apr 2020 05:54:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="0b/WcdPV"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407722AbgDNRgz (ORCPT + 99 others); Tue, 14 Apr 2020 13:36:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:46252 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407713AbgDNRgu (ORCPT ); Tue, 14 Apr 2020 13:36:50 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 956A02054F; Tue, 14 Apr 2020 17:36:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586885810; bh=atfGXc/+cClM0GBREiTZsOZeix3ptYsx1vBG0s8Qvgo=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=0b/WcdPVEQTjlq7Osc3ueiALOavc/xEupuRtgO7xymolTojsL7sxk4GD/t8D0txeR xLLvnf4+VSkaXoh/oLUmsxh5C2/Fo+xyZ0WOA97P4EOj6DSXr4iyt5gcwWaOjDWjgl 5mGcNRLgzhtWNX5mboV07DFkEwDHPh8fBDHrMN+4= Date: Tue, 14 Apr 2020 18:36:47 +0100 From: Mark Brown To: Jason Yan Cc: broonie@kernel.org, Hulk Robot , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-spi@vger.kernel.org, Mark Brown , matthias.bgg@gmail.com Subject: Applied "spi: spi-mtk-nor: make mtk_nor_exec_op() statuc" to the spi tree In-Reply-To: <20200409085009.44971-1-yanaijie@huawei.com> Message-Id: X-Patchwork-Hint: ignore Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch spi: spi-mtk-nor: make mtk_nor_exec_op() statuc has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From afedb4b7282b4c532d8aea105943e71c0efb3a6b Mon Sep 17 00:00:00 2001 From: Jason Yan Date: Thu, 9 Apr 2020 16:50:09 +0800 Subject: [PATCH] spi: spi-mtk-nor: make mtk_nor_exec_op() statuc Fix the following sparse warning: drivers/spi/spi-mtk-nor.c:394:5: warning: symbol 'mtk_nor_exec_op' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan Link: https://lore.kernel.org/r/20200409085009.44971-1-yanaijie@huawei.com Signed-off-by: Mark Brown --- drivers/spi/spi-mtk-nor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-mtk-nor.c b/drivers/spi/spi-mtk-nor.c index c15a9910549f..7bc302b50396 100644 --- a/drivers/spi/spi-mtk-nor.c +++ b/drivers/spi/spi-mtk-nor.c @@ -391,7 +391,7 @@ static int mtk_nor_pp_unbuffered(struct mtk_nor *sp, return mtk_nor_cmd_exec(sp, MTK_NOR_CMD_WRITE, 6 * BITS_PER_BYTE); } -int mtk_nor_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) +static int mtk_nor_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) { struct mtk_nor *sp = spi_controller_get_devdata(mem->spi->master); int ret; -- 2.20.1