]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
FlashPoint: fix build warning
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 16 Sep 2015 14:06:20 +0000 (19:36 +0530)
committerJames Bottomley <JBottomley@Odin.com>
Tue, 10 Nov 2015 00:32:14 +0000 (16:32 -0800)
We have been getting a warning about non ANSI function.
warning: non-ANSI function declaration of function 'FPT_SccbMgrTableInitAll'

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Acked-by: Khalid Aziz <khalid@gonehiking.org>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/FlashPoint.c

index 5c74e4c52fe4448af1df385c29c594e50d15f9b7..867b864f50479033bd5e206de8bec23cd4a0a81a 100644 (file)
@@ -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;