scsi:gdth.c: fix compilation warning
PATCH 1/1 scsi:gdth.c: fix compilation warning
We do not allow old-style function definition. Always spell foo(void) if a function does not take any parameters.
Signed-off-by Cong Ding <[email protected]>
--- drivers/scsi/gdth.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/gdth.c +1 -1
@@ -204,7 +204,7 @@ static char strbuf[MAX_SERBUF+1];#else #define COM_BASE 0x3f8#endif -static void ser_init () +static void ser_init (void ) {unsigned port=COM_BASE ;
Signature · 1 line
1.7.4.5
ping!
- cong
Quoted 24 lines · Cong Ding
We do not allow old-style function definition. Always spell foo(void) if a function does not take any parameters.
Signed-off-by Cong Ding <[email protected]>--- drivers/scsi/gdth.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/scsi/gdth.c +1
-1@@ -204,7 +204,7 @@ static char strbuf[MAX_SERBUF+1];#else #define COM_BASE 0x3f8#endif -static void ser_init () +static void ser_init (void ) {unsigned port=COM_BASE ;Signature · 1 line
1.7.4.5
Hi all, is this still in the queue or...?
- cong
Quoted 24 lines · Cong Ding
We do not allow old-style function definition. Always spell foo(void) if a function does not take any parameters.
Signed-off-by Cong Ding <[email protected]>--- drivers/scsi/gdth.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/scsi/gdth.c +1
-2@@ -204,7 +204,7 @@ static char strbuf[MAX_SERBUF+1];#else #define COM_BASE 0x3f8#endif -static void ser_init () +static void ser_init (void ) {unsigned port=COM_BASE ; --1.7.4.5