Re: [PATCH] [SCSI] FlashPoint: Fix non-ANSI function declaration

2014-04-06 Thread Khalid Aziz
On Mon, 2014-04-07 at 11:51 +0900, Daeseok Youn wrote:
> sparse says:
>  non-ANSI function declaration of function 'FPT_SccbMgrTableInitAll'
> 
> Signed-off-by: Daeseok Youn 
> ---
>  drivers/scsi/FlashPoint.c |2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c
> index 5c74e4c..867b864 100644
> --- a/drivers/scsi/FlashPoint.c
> +++ b/drivers/scsi/FlashPoint.c
> @@ -2136,7 +2136,7 @@ static unsigned char FPT_SccbMgr_bad_isr(u32 p_port, 
> unsigned char p_card,
>   *
>   *-*/
>  
> -static void FPT_SccbMgrTableInitAll()
> +static void FPT_SccbMgrTableInitAll(void)
>  {
>   unsigned char thisCard;
>  

Acked-by: Khalid Aziz 

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] [SCSI] FlashPoint: Fix non-ANSI function declaration

2014-04-06 Thread Daeseok Youn

sparse says:
 non-ANSI function declaration of function 'FPT_SccbMgrTableInitAll'

Signed-off-by: Daeseok Youn 
---
 drivers/scsi/FlashPoint.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c
index 5c74e4c..867b864 100644
--- a/drivers/scsi/FlashPoint.c
+++ b/drivers/scsi/FlashPoint.c
@@ -2136,7 +2136,7 @@ static unsigned char FPT_SccbMgr_bad_isr(u32 p_port, 
unsigned char p_card,
  *
  *-*/
 
-static void FPT_SccbMgrTableInitAll()
+static void FPT_SccbMgrTableInitAll(void)
 {
unsigned char thisCard;
 
-- 
1.7.4.4


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html