FlashPoint: fix build warning
Subsystems (2)
PATCH 1/1 FlashPoint: fix build warning
We have been getting a warning about non ANSI function.
warning: non-ANSI function declaration of function 'FPT_SccbMgrTableInitAll'
--- drivers/scsi/FlashPoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/FlashPoint.c +1 -1
@@ -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;
Signature · 1 line
1.9.1
Quoted 14 lines · Sudip Mukherjee
We have been getting a warning about non ANSI function.
warning: non-ANSI function declaration of function 'FPT_SccbMgrTableInitAll'Signed-off-by Sudip Mukherjee <[email protected]>--- drivers/scsi/FlashPoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/scsi/FlashPoint.c +0
-0
drivers/scsi/FlashPoint.c static unsigned char FPT_SccbMgr_bad_isr(u32 p_port, unsigned char p_card, · line 2142
Quoted 8 lines
drivers/scsi/FlashPoint.c +1
-1@@ -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;
James, please apply this to your SCSI tree.
--
Khalid
Quoted 26 lines · Khalid Aziz
Quoted 14 lines · Sudip Mukherjee
We have been getting a warning about non ANSI function.
warning: non-ANSI function declaration of function 'FPT_SccbMgrTableInitAll'Signed-off-by Sudip Mukherjee <[email protected]>--- drivers/scsi/FlashPoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/scsi/FlashPoint.c +0
-0drivers/scsi/FlashPoint.c static unsigned char FPT_SccbMgr_bad_isr(u32 p_port, unsigned char p_card, · line 2142
Quoted 8 lines
drivers/scsi/FlashPoint.c +1
-1@@ -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 <[email protected]>
Quoted 1 line
James, please apply this to your SCSI tree.
Hi James,
A gentle reminder that this is waiting to be applied.
regards
sudip