* Re: [PATCH] scsi/FlashPoint.c: Add void declaration in zero-arg functions.
[not found] <1404392889-14745-1-git-send-email-fempsci@gmail.com>
@ 2014-07-07 14:12 ` Khalid Aziz
0 siblings, 0 replies; only message in thread
From: Khalid Aziz @ 2014-07-07 14:12 UTC (permalink / raw)
To: Chi Pham; +Cc: JBottomley, linux-scsi
On Thu, 2014-07-03 at 15:08 +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@gmail.com>
> ---
> drivers/scsi/FlashPoint.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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>
Please cc linux-scsi@vger.kernel.org on scsi patches.
--
Khalid
^ permalink raw reply [flat|nested] only message in thread