Message ID | 1442412380-1832-1-git-send-email-sudipm.mukherjee@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 09/16/2015 08:06 AM, Sudip Mukherjee wrote: > 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> > --- > 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> James, please apply this to your SCSI tree. -- Khalid -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Sep 16, 2015 at 08:47:43AM -0600, Khalid Aziz wrote: > On 09/16/2015 08:06 AM, Sudip Mukherjee wrote: > >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> > >--- > > 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> > > James, please apply this to your SCSI tree. Hi James, A gentle reminder that this is waiting to be applied. regards sudip -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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;
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> --- drivers/scsi/FlashPoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)