summaryrefslogtreecommitdiffstats
path: root/drivers/staging/keucr/smilmain.c
Commit message (Collapse)AuthorAgeFilesLines
* staging: keucr: Fix typo in keucr driverMasanari Iida2013-12-171-1/+1
| | | | | | | Correct spelling typo in comment and printk. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: keucr: Move the declaration of variable IsXDCompliance in smilsub.cRashika Kheria2013-11-111-3/+0
| | | | | | | | | | This patch moves the declaration of variable IsXDCompliance to file smilsub.c since this is the only file which uses it. Hence, it also removes extern declaration from the header file smil.h and unnecessary declaration in smilmain.c Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: keucr: Move the declaration of variable IsSSFDCCompliance in smilsub.cRashika Kheria2013-11-111-1/+0
| | | | | | | | | | This patch moves the declaration of variable IsSSFDCCompliance to file smilsub.c since this is the only file which uses it. Hence, it also removes extern declaration from the header file smil.h and unnecessary declaration in smilmain.c Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: keucr: Move the declaration of variable ErrCode in smilmain.cRashika Kheria2013-11-111-1/+1
| | | | | | | | | | This patch moves the declaration of variable ErrCode to file smilmain.c since this is the only file which uses it. Hence, it also removes extern declaration from the header file smil.h. Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: keucr: Move the declaration of variable ErrXDCode in smilsub.cRashika Kheria2013-11-111-1/+0
| | | | | | | | | | | This patch moves the declaration of variable ErrXDCode to file smilsub.c since this is the only file which uses it. Hence, it also removes extern declaration from the header file smil.h and unnecessary declaration in smilmain.c Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: keucr: Fix externs are avoided in smilmain.cRashika Kheria2013-11-101-55/+35
| | | | | | | | This patch fixes the following checkpatch.pl warning in smilmain.c- WARNING: externs should be avoided in .c files Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: fix some alignment- and whitespace-problemsJohannes Schilling2013-06-061-64/+58
| | | | | | | | | resolves checkpatch errors and warnings regarding whitespace around operators, line lengths and indentation. Signed-off-by: Laura Lawniczak <laura.lawniczak@googlemail.com> Signed-off-by: Johannes Schilling <of82ecuq@cip.cs.fau.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: fixes line over 80 characters warningAmarjargal Gundjalam2013-05-191-15/+31
| | | | | | | | This patch fixes the following checkpatch warning, WARNING: line over 80 characters Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: fixes trailing whitespace errorAmarjargal Gundjalam2013-05-191-2/+2
| | | | | | | | This patch fixes the following checkpatch error, ERROR: trailing whitespace Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: fixes no spaces at the start of a line warningAmarjargal Gundjalam2013-05-191-5/+5
| | | | | | | | This patch fixes the following checkpatch warning, WARNING: please, no spaces at the start of a line Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: fixes do not use C99 // comments errorAmarjargal Gundjalam2013-05-191-34/+35
| | | | | | | | This patch fixes the following checkpatch error, ERROR: do not use C99 // comments Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: removes unused code from smilmain.cAmarjargal Gundjalam2013-05-191-1063/+3
| | | | | Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: fixes space prohibited before warningAmarjargal Gundjalam2013-05-191-1/+1
| | | | | | | | | This patch fixes the following checkpatch error and warning, ERROR: space prohibited before open square bracket '[' WARNING: space prohibited before semicolon Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: fixed space prohibited between warningAmarjargal Gundjalam2013-05-191-40/+40
| | | | | | | | This patch fixes the following checkpatch warning, WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keurc: fixes spaces required around errorAmarjargal Gundjalam2013-05-191-134/+138
| | | | | | | | This patch fixes the following checkpatch error, ERROR: spaces required around that ' ' Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: fixes space required before open parenthesis errorAmarjargal Gundjalam2013-05-191-14/+14
| | | | | | | | This patch fixes the following checkpatch error, ERROR: space required before the open parenthesis '(' Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: fixes space required after errorAmarjargal Gundjalam2013-05-191-27/+27
| | | | | | | | This patch fixes the following checkpatch error, ERROR: space required after that ' ' Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: fixes else should follow close brace errorAmarjargal Gundjalam2013-05-191-8/+4
| | | | | | | | This patch fixes the following checkpatch error, ERROR: else should follow close brace '}' Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: fixes open brace should be on the previous line errorAmarjargal Gundjalam2013-05-191-156/+140
| | | | | | | | This patch fixes the following checkpatch error, ERROR: that open brace { should be on the previous line Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* keucr: Fixes return is not a function error in smilmain.cAmarjargal Gundjalam2013-05-191-216/+216
| | | | | | | | Fixes the following checkpatch error, ERROR: return is not a function, parentheses are not required Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* misc latin1 to utf8 conversionsAl Viro2012-01-021-2/+2
| | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* staging/keucr: don't use SUCCESS as macro nameRandy Dunlap2011-05-101-52/+52
| | | | | | | | | | | Don't use "SUCCESS" as a macro name. This collides with SCSI's macro of the same name, but with a different value: drivers/staging/keucr/smcommon.h:9:9: warning: preprocessor token SUCCESS redefined include/scsi/scsi.h:463:9: this was the original definition Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging/keucr: fix sparse statics and non-ANSI function warningsRandy Dunlap2011-05-101-14/+10
| | | | | | | | | Make lots of functions and data static (fixes sparse warnings). Fix 5 functions to use ANSI format for function parameters (fixes sparse warnings). Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging/keucr: smilmain use pr_<level> for messagesCho, Yu-Chen2011-04-201-7/+9
| | | | | | | smilmain.c use pr_<level> for messages Signed-off-by: Cho, Yu-Chen <acho@novell.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Fix common misspellingsLucas De Marchi2011-03-311-4/+4
| | | | | | Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
* drivers/staging: Remove unnecessary semicolonsJoe Perches2010-11-161-2/+2
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: add USB ENE card reader driverAl Cho2010-09-081-0/+1852
This driver is for the ENE card reader that can be found in many different laptops. It was written by ENE, but cleaned up to work properly in the kernel tree by Novell. Signed-off-by: Al Cho <acho@novell.com> Cc: <yiyingc@ene.com.tw> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud