From: YueHaibing <yuehaibing@huawei.com> To: ohad@wizery.com, bjorn.andersson@linaro.org Cc: linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, YueHaibing <yuehaibing@huawei.com> Subject: [PATCH -next] remoteproc: make rproc_check_carveout_da static Date: Fri, 1 Feb 2019 11:13:17 +0800 [thread overview] Message-ID: <20190201031317.18820-1-yuehaibing@huawei.com> (raw) Fixes the following sparse warnings: drivers/remoteproc/remoteproc_core.c:279:5: warning: symbol 'rproc_check_carveout_da' was not declared. Should it be static? Signed-off-by: YueHaibing <yuehaibing@huawei.com> --- drivers/remoteproc/remoteproc_core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index 54ec38f..5d4954d 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c @@ -276,8 +276,9 @@ rproc_find_carveout_by_name(struct rproc *rproc, const char *name, ...) * * Return: 0 if carveout match request else -ENOMEM */ -int rproc_check_carveout_da(struct rproc *rproc, struct rproc_mem_entry *mem, - u32 da, u32 len) +static int rproc_check_carveout_da(struct rproc *rproc, + struct rproc_mem_entry *mem, + u32 da, u32 len) { struct device *dev = &rproc->dev; int delta = 0; -- 2.7.0
WARNING: multiple messages have this Message-ID (diff)
From: YueHaibing <yuehaibing@huawei.com> To: <ohad@wizery.com>, <bjorn.andersson@linaro.org> Cc: <linux-kernel@vger.kernel.org>, <linux-remoteproc@vger.kernel.org>, YueHaibing <yuehaibing@huawei.com> Subject: [PATCH -next] remoteproc: make rproc_check_carveout_da static Date: Fri, 1 Feb 2019 11:13:17 +0800 [thread overview] Message-ID: <20190201031317.18820-1-yuehaibing@huawei.com> (raw) Fixes the following sparse warnings: drivers/remoteproc/remoteproc_core.c:279:5: warning: symbol 'rproc_check_carveout_da' was not declared. Should it be static? Signed-off-by: YueHaibing <yuehaibing@huawei.com> --- drivers/remoteproc/remoteproc_core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index 54ec38f..5d4954d 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c @@ -276,8 +276,9 @@ rproc_find_carveout_by_name(struct rproc *rproc, const char *name, ...) * * Return: 0 if carveout match request else -ENOMEM */ -int rproc_check_carveout_da(struct rproc *rproc, struct rproc_mem_entry *mem, - u32 da, u32 len) +static int rproc_check_carveout_da(struct rproc *rproc, + struct rproc_mem_entry *mem, + u32 da, u32 len) { struct device *dev = &rproc->dev; int delta = 0; -- 2.7.0
next reply other threads:[~2019-02-01 3:14 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-02-01 3:13 YueHaibing [this message] 2019-02-01 3:13 ` [PATCH -next] remoteproc: make rproc_check_carveout_da static YueHaibing 2019-02-01 15:56 ` Loic PALLARDY
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190201031317.18820-1-yuehaibing@huawei.com \ --to=yuehaibing@huawei.com \ --cc=bjorn.andersson@linaro.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-remoteproc@vger.kernel.org \ --cc=ohad@wizery.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.