* [PATCH] [SCSI] FlashPoint: Fix non-ANSI function declaration
@ 2014-04-07 2:51 Daeseok Youn
2014-04-07 2:59 ` Khalid Aziz
0 siblings, 1 reply; 2+ messages in thread
From: Daeseok Youn @ 2014-04-07 2:51 UTC (permalink / raw)
To: khalid, JBottomley; +Cc: linux-scsi, linux-kernel
sparse says:
non-ANSI function declaration of function 'FPT_SccbMgrTableInitAll'
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] [SCSI] FlashPoint: Fix non-ANSI function declaration
2014-04-07 2:51 [PATCH] [SCSI] FlashPoint: Fix non-ANSI function declaration Daeseok Youn
@ 2014-04-07 2:59 ` Khalid Aziz
0 siblings, 0 replies; 2+ messages in thread
From: Khalid Aziz @ 2014-04-07 2:59 UTC (permalink / raw)
To: Daeseok Youn; +Cc: JBottomley, linux-scsi, linux-kernel
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@gmail.com>
> ---
> 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@gonehiking.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-07 3:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-07 2:51 [PATCH] [SCSI] FlashPoint: Fix non-ANSI function declaration Daeseok Youn
2014-04-07 2:59 ` Khalid Aziz
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.