Linux IOMMU Development
 help / color / mirror / Atom feed
From: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
To: Chi Pham <fempsci-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Varun Sethi <Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: [PATCH] iommu: Add void declarations in zero-arg functions.
Date: Fri, 4 Jul 2014 13:23:56 +0200	[thread overview]
Message-ID: <20140704112355.GH13434@8bytes.org> (raw)
In-Reply-To: <1404392581-14507-1-git-send-email-fempsci-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

On Thu, Jul 03, 2014 at 03:03:01PM +0200, Chi Pham wrote:
> Added explicit void declarations to zero-argument function headers.
> The following coccinelle script was used:
> @addvoid@
> identifier f;
> @@
> 
> f(
> + void
>  ) { ... }
> 
> Signed-off-by: Chi Pham <fempsci-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>a

Applied, thanks.

> ---
>  drivers/iommu/fsl_pamu.c        |    2 +-
>  drivers/iommu/fsl_pamu_domain.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c
> index b99dd88..5c9b424 100644
> --- a/drivers/iommu/fsl_pamu.c
> +++ b/drivers/iommu/fsl_pamu.c
> @@ -92,7 +92,7 @@ struct gen_pool *spaace_pool;
>   * subwindow count per liodn.
>   *
>   */
> -u32 pamu_get_max_subwin_cnt()
> +u32 pamu_get_max_subwin_cnt(void)
>  {
>  	return max_subwindow_count;
>  }
> diff --git a/drivers/iommu/fsl_pamu_domain.c b/drivers/iommu/fsl_pamu_domain.c
> index 93072ba..0ead81c 100644
> --- a/drivers/iommu/fsl_pamu_domain.c
> +++ b/drivers/iommu/fsl_pamu_domain.c
> @@ -1157,7 +1157,7 @@ static struct iommu_ops fsl_pamu_ops = {
>  	.remove_device	= fsl_pamu_remove_device,
>  };
>  
> -int pamu_domain_init()
> +int pamu_domain_init(void)
>  {
>  	int ret = 0;
>  
> -- 
> 1.7.10.4
> 

           reply	other threads:[~2014-07-04 11:23 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1404392581-14507-1-git-send-email-fempsci-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]

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=20140704112355.GH13434@8bytes.org \
    --to=joro-zlv9swrftaidnm+yrofe0a@public.gmane.org \
    --cc=Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
    --cc=fempsci-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.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