From: Richard Kuo <rkuo@codeaurora.org>
To: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: kernel-janitors@vger.kernel.org, linux-hexagon@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arch/hexagon/kernel/dma.c: make function static
Date: Thu, 26 Jan 2012 16:52:22 -0600 [thread overview]
Message-ID: <20120126225222.GA11120@codeaurora.org> (raw)
In-Reply-To: <1327411896-4532-1-git-send-email-Julia.Lawall@lip6.fr>
On Tue, Jan 24, 2012 at 02:31:36PM +0100, Julia Lawall wrote:
> From: Julia Lawall <Julia.Lawall@lip6.fr>
>
> This function is only used in the same file, and the other similar
> functions in this file are also static.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
>
> ---
> arch/hexagon/kernel/dma.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/hexagon/kernel/dma.c b/arch/hexagon/kernel/dma.c
> index 54891e1..0b49a0a 100644
> --- a/arch/hexagon/kernel/dma.c
> +++ b/arch/hexagon/kernel/dma.c
> @@ -54,7 +54,7 @@ static struct gen_pool *coherent_pool;
>
> /* Allocates from a pool of uncached memory that was reserved at boot time */
>
> -void *hexagon_dma_alloc_coherent(struct device *dev, size_t size,
> +static void *hexagon_dma_alloc_coherent(struct device *dev, size_t size,
> dma_addr_t *dma_addr, gfp_t flag)
> {
> void *ret;
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hexagon" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks!
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
prev parent reply other threads:[~2012-01-26 22:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-24 13:31 [PATCH] arch/hexagon/kernel/dma.c: make function static Julia Lawall
2012-01-26 22:52 ` Richard Kuo [this message]
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=20120126225222.GA11120@codeaurora.org \
--to=rkuo@codeaurora.org \
--cc=Julia.Lawall@lip6.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-hexagon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).