eicon: Fixed checkpatch warning
Subsystems (2)
PATCH 1/1 eicon: Fixed checkpatch warning
drivers/isdn/hardware/eicon/diva_didd.c:32:6: warning: symbol 'DRIVERRELEASE_DIDD' was not declared. Should it be static?
--- drivers/isdn/hardware/eicon/diva_didd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/isdn/hardware/eicon/diva_didd.c +1 -1
@@ -29,7 +29,7 @@ static char *main_revision = "$Revision: 1.13.6.4 $";static char *DRIVERNAME ="Eicon DIVA - DIDD table (http://www.melware.net)" ;static char *DRIVERLNAME ="divadidd" ; -char *DRIVERRELEASE_DIDD ="2.0" ; +static char *DRIVERRELEASE_DIDD ="2.0" ;MODULE_DESCRIPTION ("DIDD table driver for diva drivers" );MODULE_AUTHOR ("Cytronics & Melware, Eicon Networks" );
Signature · 1 line
1.7.10.4
From: Andreea Hodea <[email protected]>
Date: Sun, 10 Mar 2013 14:34:36 +0200
Quoted 4 lines
drivers/isdn/hardware/eicon/diva_didd.c:32:6: warning: symbol 'DRIVERRELEASE_DIDD' was not declared. Should it be static?Signed-off-by Andreea Hodea <[email protected]>
Applied, thanks.
David Miller
maintainerFrom: David Miller <[email protected]>
Date: Sun, 10 Mar 2013 16:56:13 -0400 (EDT)
Quoted 9 lines
From: Andreea Hodea <[email protected]>
Date: Sun, 10 Mar 2013 14:34:36 +0200Quoted 4 lines
drivers/isdn/hardware/eicon/diva_didd.c:32:6: warning: symbol 'DRIVERRELEASE_DIDD' was not declared. Should it be static?Signed-off-by Andreea Hodea <[email protected]>Applied, thanks.
I had to revert, did you even try to compile the driver after this change?
The symbol is refenced by DbgRegister() calls in diddfunc.c, and a very simple grep would have shown that to you.
Please do not just blindly try to fix checkpatch warnings.