All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] IOMMU: use ANSI style function declaration for 'iommu_found'
@ 2009-03-02  0:00 ` Hannes Eder
  0 siblings, 0 replies; 4+ messages in thread
From: Hannes Eder @ 2009-03-02  0:00 UTC (permalink / raw)
  To: Joerg Roedel; +Cc: kernel-janitors, linux-kernel

Fix this sparse warning:
  drivers/base/iommu.c:34:18: warning: non-ANSI function declaration of function 'iommu_found'

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
---
 drivers/base/iommu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/base/iommu.c b/drivers/base/iommu.c
index 5e039d4..c2d1eed 100644
--- a/drivers/base/iommu.c
+++ b/drivers/base/iommu.c
@@ -31,7 +31,7 @@ void register_iommu(struct iommu_ops *ops)
 	iommu_ops = ops;
 }
 
-bool iommu_found()
+bool iommu_found(void)
 {
 	return iommu_ops != NULL;
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] IOMMU: use ANSI style function declaration for 'iommu_found'
@ 2009-03-02  0:00 ` Hannes Eder
  0 siblings, 0 replies; 4+ messages in thread
From: Hannes Eder @ 2009-03-02  0:00 UTC (permalink / raw)
  To: Joerg Roedel; +Cc: kernel-janitors, linux-kernel

Fix this sparse warning:
  drivers/base/iommu.c:34:18: warning: non-ANSI function declaration of function 'iommu_found'

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
---
 drivers/base/iommu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/base/iommu.c b/drivers/base/iommu.c
index 5e039d4..c2d1eed 100644
--- a/drivers/base/iommu.c
+++ b/drivers/base/iommu.c
@@ -31,7 +31,7 @@ void register_iommu(struct iommu_ops *ops)
 	iommu_ops = ops;
 }
 
-bool iommu_found()
+bool iommu_found(void)
 {
 	return iommu_ops != NULL;
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] IOMMU: use ANSI style function declaration for 'iommu_found'
  2009-03-02  0:00 ` Hannes Eder
@ 2009-03-05 11:13   ` Joerg Roedel
  -1 siblings, 0 replies; 4+ messages in thread
From: Joerg Roedel @ 2009-03-05 11:13 UTC (permalink / raw)
  To: Hannes Eder; +Cc: kernel-janitors, linux-kernel

On Mon, Mar 02, 2009 at 01:00:41AM +0100, Hannes Eder wrote:
> Fix this sparse warning:
>   drivers/base/iommu.c:34:18: warning: non-ANSI function declaration of function 'iommu_found'
> 
> Signed-off-by: Hannes Eder <hannes@hanneseder.net>
> ---
>  drivers/base/iommu.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/base/iommu.c b/drivers/base/iommu.c
> index 5e039d4..c2d1eed 100644
> --- a/drivers/base/iommu.c
> +++ b/drivers/base/iommu.c
> @@ -31,7 +31,7 @@ void register_iommu(struct iommu_ops *ops)
>  	iommu_ops = ops;
>  }
>  
> -bool iommu_found()
> +bool iommu_found(void)
>  {
>  	return iommu_ops != NULL;
>  }

Applied, thanks.

Joerg

-- 
           | Advanced Micro Devices GmbH
 Operating | Karl-Hammerschmidt-Str. 34, 85609 Dornach bei München
 System    | 
 Research  | Geschäftsführer: Jochen Polster, Thomas M. McCoy, Giuliano Meroni
 Center    | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
           | Registergericht München, HRB Nr. 43632


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] IOMMU: use ANSI style function declaration for 'iommu_found'
@ 2009-03-05 11:13   ` Joerg Roedel
  0 siblings, 0 replies; 4+ messages in thread
From: Joerg Roedel @ 2009-03-05 11:13 UTC (permalink / raw)
  To: Hannes Eder; +Cc: kernel-janitors, linux-kernel

On Mon, Mar 02, 2009 at 01:00:41AM +0100, Hannes Eder wrote:
> Fix this sparse warning:
>   drivers/base/iommu.c:34:18: warning: non-ANSI function declaration of function 'iommu_found'
> 
> Signed-off-by: Hannes Eder <hannes@hanneseder.net>
> ---
>  drivers/base/iommu.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/base/iommu.c b/drivers/base/iommu.c
> index 5e039d4..c2d1eed 100644
> --- a/drivers/base/iommu.c
> +++ b/drivers/base/iommu.c
> @@ -31,7 +31,7 @@ void register_iommu(struct iommu_ops *ops)
>  	iommu_ops = ops;
>  }
>  
> -bool iommu_found()
> +bool iommu_found(void)
>  {
>  	return iommu_ops != NULL;
>  }

Applied, thanks.

Joerg

-- 
           | Advanced Micro Devices GmbH
 Operating | Karl-Hammerschmidt-Str. 34, 85609 Dornach bei München
 System    | 
 Research  | Geschäftsführer: Jochen Polster, Thomas M. McCoy, Giuliano Meroni
 Center    | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
           | Registergericht München, HRB Nr. 43632


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-05 11:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-02  0:00 [PATCH] IOMMU: use ANSI style function declaration for 'iommu_found' Hannes Eder
2009-03-02  0:00 ` Hannes Eder
2009-03-05 11:13 ` Joerg Roedel
2009-03-05 11:13   ` Joerg Roedel

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.