summaryrefslogtreecommitdiff
path: root/drivers/staging
AgeCommit message (Collapse)Author
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "SectOfset" -> "sect_offset"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "sCopySectStrut" -> "copy_sect_strut"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "eFlash2xSectionVal" -> ↵Matthias Beyer
"flash_2x_section_val" Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "psFlash2xBitMap" -> ↵Matthias Beyer
"flash_2x_bit_map" Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "WriteOffset" -> "write_off"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "InputAddr" -> "input_addr"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "pWriteBuff" -> "write_buff"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "WriteBytes" -> "write_bytes"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "ReadBytes" -> "read_bytes"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "BuffSize" -> "buff_size"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "pReadBuff" -> "read_buff"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "sFlash2xRead" -> "flash_2x_read"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "pReadData" -> "read_data"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "stNVMReadWrite" -> "nvm_rw"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "sUserDebugState" -> ↵Matthias Beyer
"user_debug_state" Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "uiSectorSize" -> "sector_size"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "uiTempVar" -> "tmp"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "pBulkBuffer" -> "bulk_buff"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "uiData" -> "data"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "uiLoopIndex" -> "i"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "NVMAccess" -> "nvm_access"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "psFwInfo" -> "fw_info"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "ulSFId" -> "sf_id"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "pvBuffer" -> "buff"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "ucResetValue" -> "reset_val"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "Status" -> "status"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "ucRead" -> "read"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "uiBit" -> "bit"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "IoBuffer" -> "io_buff"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "threadReq" -> "thread_req"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Renamed variable: "Adapter" -> "ad"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30Staging: bcm: Bcmchar.c: Fixed debug outputMatthias Beyer
The output prints some struct variable contents, but uses a wrong variable name. This is fixed by this patch. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging: lustre: socklnd: Remove static initialization to NULL or 0Marco Cyriacks
This patch fixes the following coding style issue: ERROR: do not initialise statics to 0 or NULL Signed-off-by: Marco Cyriacks <marco@cyriacks.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging: lustre: fid,fld: expand the GOTO macroJulia Lawall
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ identifier lbl; identifier rc; constant c; @@ - GOTO(lbl,\(rc\|c\)); + goto lbl; @@ identifier lbl; expression rc; @@ - GOTO(lbl,rc); + rc; + goto lbl; // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging: lustre: llite: expand the GOTO macroJulia Lawall
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ identifier lbl; @@ if (...) GOTO(lbl,...); +else GOTO(lbl,...); @@ identifier lbl,rc; constant c; expression e,e1; @@ if ( - e + !e ) - GOTO(lbl,\(rc\|c\)); -else GOTO(lbl,e1); + e1; +goto lbl; @@ identifier lbl,rc; constant c; expression e,e1; @@ if (e) - GOTO(lbl,e1); -else GOTO(lbl,\(rc\|c\)); + e1; +goto lbl; @@ identifier lbl; expression e,e1,e2; @@ if (e) - GOTO(lbl,e1); -else GOTO(lbl,e2); + e1; +else e2; +goto lbl; // ------------------------------------------------------------------------ @@ identifier lbl,rc; constant c; @@ - GOTO(lbl,\(rc\|c\)); + goto lbl; @@ identifier lbl; expression rc; @@ - GOTO(lbl,rc); + rc; + goto lbl; // </smpl> The rules above the line deal with the case where the goto desination is the same whether or not the the branch is taken. In that case, the goto is created in just one instance after the if. This affects only the files namei.c and llite_lib.c. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging:lustre:lnet lib-md.c erase space before ')' for code styleJanet Liu
Silences the following error: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Janet Liu <jianhua.ljh@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging:lustre:lnet: lib-md.c delete space before '(' for code styleJanet Liu
Silences the following checkpatch warning: WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Janet Liu <jianhua.ljh@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging/lustre: remove linux/obd_support.hJohn L. Hammond
Remove the superfluous header lustre/include/linux/obd_support.h. Signed-off-by: John L. Hammond <john.hammond@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging/lustre: remove linux/obd_class.hJohn L. Hammond
Kill the macro ll_inode_flags() and remove the superfluous header lustre/include/linux/obd_class.h. Signed-off-by: John L. Hammond <john.hammond@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging/lustre: remove linux/lustre_quota.hJohn L. Hammond
Remove the superfluous header lustre/include/linux/lustre_quota.h. Signed-off-by: John L. Hammond <john.hammond@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging/lustre: remove linux/lustre_net.hJohn L. Hammond
Remove the superfluous header lustre/include/linux/lustre_net.h. Signed-off-by: John L. Hammond <john.hammond@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging/lustre: remove linux/lustre_log.hJohn L. Hammond
Remove the superfluous header lustre/include/linux/lustre_log.h. Signed-off-by: John L. Hammond <john.hammond@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging/lustre: remove linux/lustre_lib.hJohn L. Hammond
Inline the only call to inode_init_lvb(). Move some definitions from lustre/include/linux/lustre_lib.h to lustre/include/lustre_lib.h and remove the first header. Signed-off-by: John L. Hammond <john.hammond@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging/lustre: move lustre_intent.h to ..John L. Hammond
Move lustre/include/linux/lustre_intent.h to lustre/include. Signed-off-by: John L. Hammond <john.hammond@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging/lustre: remove linux/lustre_handles.hJohn L. Hammond
Remove lustre/include/linux/lustre_acl.h and kill the cfs_rcu_head_t typedef. Signed-off-by: John L. Hammond <john.hammond@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging/lustre: remove linux/lustre_dlm.hJohn L. Hammond
Remove the superfluous header lustre/include/linux/lustre_dlm.h. Signed-off-by: John L. Hammond <john.hammond@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging/lustre remove linux/lustre_acl.hJohn L. Hammond
Move the contents of lustre/include/linux/lustre_acl.h to lustre/include/lustre_acl.h and remove the first header. Signed-off-by: John L. Hammond <john.hammond@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging/lustre: remove linux/lprocfs_status.hJohn L. Hammond
Remove lustre/include/linux/lprocfs_status.h. Include linux/statfs.h where needed. Signed-off-by: John L. Hammond <john.hammond@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging: lustre: osc: add blank line after declarationsMario Schlegel
fixed a coding style issue Signed-off-by: Mario Schlegel <m.schlegel@posteo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-30staging/lustre: remove unused request policies.Oleg Drokin
Client policies do not make much sense to have in client-only code, so remove all references to everything but fifo. This also removes lustre/libcfs/heap.c and its header, since it was only used by certain request policies (crr and orr). Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>