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

From: Khalid Aziz
Date: Sun Apr 06 2014 - 23:06:23 EST


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 <daeseok.youn@xxxxxxxxx>
> ---
> 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 <khalid@xxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/