[PATCH 07/13] staging: lustre: lnet: selftest: code cleanup - variable spacing, indentation

2015-05-21 Thread Mike Shuey
Unify spacing in variable declarations, and align indentation in headers. General whitespace cleanups. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/selftest/brw_test.c | 60 ++-- drivers/staging/lustre/lnet/selftest/conctl.c| 54 ++-- drivers/staging/lustre

[PATCH v4 05/13] staging: lustre: lnet: o2iblnd: code cleanup - align whitespace

2015-05-21 Thread Mike Shuey
Unify variable declarations to use a single whitespace. Also line up declarations and comments in o2iblnd.h. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 458 +++--- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 680

[PATCH 12/13] staging: lustre: lnet: socklnd: checkpatch.pl cleanups

2015-05-21 Thread Mike Shuey
More checkpatch.pl warnings code cleanup. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c| 94 +++-- .../staging/lustre/lnet/klnds/socklnd/socklnd.h| 20 +- .../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 419

[PATCH 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
Fix many checkpatch.pl warnings. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/acceptor.c| 69 ++- drivers/staging/lustre/lnet/lnet/api-ni.c | 18 -- drivers/staging/lustre/lnet/lnet/config.c |2 +- drivers/staging

[PATCH 13/13] staging: lustre: lnet: selftest: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
Cleaning up more checkpatch.pl issues. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/selftest/brw_test.c |3 +- drivers/staging/lustre/lnet/selftest/conctl.c|4 +- drivers/staging/lustre/lnet/selftest/conrpc.c| 41 drivers/staging

[PATCH v4 01/13] staging: lustre: lnet: lnet: code cleanups - variable declarations

2015-05-21 Thread Mike Shuey
Unify variable declarations to use a single space, and any other obvious spacing flaws. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/acceptor.c| 32 ++-- drivers/staging/lustre/lnet/lnet/api-ni.c | 198 ++-- drivers/staging/lustre

[PATCH v4 11/13] staging: lnet: o2iblnd: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
Clean up most checkpatch.pl warnings (primarily line length warnings). Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 25 ++- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 204 +++- .../staging/lustre/lnet/klnds

[PATCH v4 12/13] staging: lustre: lnet: socklnd: checkpatch.pl cleanups

2015-05-21 Thread Mike Shuey
More checkpatch.pl warnings code cleanup. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c| 94 +++-- .../staging/lustre/lnet/klnds/socklnd/socklnd.h| 20 +- .../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 419

[PATCH 11/13] staging: lnet: o2iblnd: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
Clean up most checkpatch.pl warnings (primarily line length warnings). Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 25 ++- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 204 +++- .../staging/lustre/lnet/klnds

[PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Mike Shuey
Fix many checkpatch.pl warnings. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/acceptor.c| 69 ++- drivers/staging/lustre/lnet/lnet/api-ni.c | 18 -- drivers/staging/lustre/lnet/lnet/config.c |2 +- drivers/staging

[PATCH v4 02/13] staging: lustre: lnet: dead code - remove lnet_fini_locks

2015-05-21 Thread Mike Shuey
lnet_fini_locks() does nothing. Remove. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/api-ni.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/api-ni.c b/drivers/staging/lustre/lnet/lnet/api-ni.c

[PATCH v4 03/13] staging: lustre: lnet: dead code - remove LNetSetAsync

2015-05-21 Thread Mike Shuey
LNetSetAsync() returns 0, and is never called. Doesn't exist in the Intel tree, either. Remove it. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/include/linux/lnet/api.h |1 - drivers/staging/lustre/lnet/lnet/lib-move.c | 24 --- 2 files

[PATCH 03/13] staging: lustre: lnet: dead code - remove LNetSetAsync

2015-05-21 Thread Mike Shuey
LNetSetAsync() returns 0, and is never called. Doesn't exist in the Intel tree, either. Remove it. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/include/linux/lnet/api.h |1 - drivers/staging/lustre/lnet/lnet/lib-move.c | 24 --- 2 files

[PATCH v4 08/13] staging: lustre: lnet: remove LNET_MUTEX_LOCK macro

2015-05-21 Thread Mike Shuey
LNET_MUTEX_LOCK and LNET_MUTEX_UNLOCK are verbose wrappers to mutex_lock and mutex_unlock. Get rid of these. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/include/linux/lnet/lib-lnet.h |2 - drivers/staging/lustre/lnet/lnet/api-ni.c | 26

[PATCH 02/13] staging: lustre: lnet: dead code - remove lnet_fini_locks

2015-05-21 Thread Mike Shuey
lnet_fini_locks() does nothing. Remove. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/api-ni.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/api-ni.c b/drivers/staging/lustre/lnet/lnet/api-ni.c

[PATCH v4 04/13] staging: lustre: lnet: lnet: Module is LNet, not Portals

2015-05-21 Thread Mike Shuey
Fix the module version to match upstream development. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/module.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/module.c b/drivers/staging/lustre/lnet/lnet

[PATCH 08/13] staging: lustre: lnet: remove LNET_MUTEX_LOCK macro

2015-05-21 Thread Mike Shuey
LNET_MUTEX_LOCK and LNET_MUTEX_UNLOCK are verbose wrappers to mutex_lock and mutex_unlock. Get rid of these. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/include/linux/lnet/lib-lnet.h |2 - drivers/staging/lustre/lnet/lnet/api-ni.c | 26

[PATCH 04/13] staging: lustre: lnet: lnet: Module is LNet, not Portals

2015-05-21 Thread Mike Shuey
Fix the module version to match upstream development. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/module.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/module.c b/drivers/staging/lustre/lnet/lnet

[PATCH 09/13] staging: lustre: lnet: lnet: remove dead code, fix checkpatch.pl issue

2015-05-21 Thread Mike Shuey
Some debug code was left in the tree, blocked by a #if 0. Also kicked out checkpatch.pl warnings. Remove it. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/lib-msg.c | 17 - 1 files changed, 0 insertions(+), 17 deletions(-) diff --git

[PATCH 06/13] staging: lustre: lnet: socklnd: code cleanup - align spacing

2015-05-21 Thread Mike Shuey
Unify variable declarations to use a single space. Also include several miscellaneous whitespace cleanups, particularly in socklnd.h. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c| 468 .../staging/lustre/lnet/klnds/socklnd

[PATCH v4 06/13] staging: lustre: lnet: socklnd: code cleanup - align spacing

2015-05-21 Thread Mike Shuey
Unify variable declarations to use a single space. Also include several miscellaneous whitespace cleanups, particularly in socklnd.h. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c| 468 .../staging/lustre/lnet/klnds/socklnd

[PATCH v3 1/8] staging: lustre: lnet: lnet: code cleanups - variable declarations

2015-05-19 Thread Mike Shuey
Unify variable declarations to use a single space, and any other obvious spacing flaws. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/acceptor.c| 32 ++-- drivers/staging/lustre/lnet/lnet/api-ni.c | 198 ++-- drivers/staging/lustre

[PATCH v3 5/8] staging: lustre: lnet: o2iblnd: code cleanup - align whitespace

2015-05-19 Thread Mike Shuey
Unify variable declarations to use a single whitespace. Also line up declarations and comments in o2iblnd.h. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 458 +++--- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 680

[PATCH v3 0/8] staging: lustre: lnet: code cleanups

2015-05-19 Thread Mike Shuey
This patch series cleans up code in staging/lustre/lnet - mostly spacing and dead function cleanup. Should apply against linux-next 20150518. ___ devel mailing list de...@linuxdriverproject.org

[PATCH v3 3/8] staging: lustre: lnet: dead code - remove LNetSetAsync

2015-05-19 Thread Mike Shuey
LNetSetAsync() returns 0, and is never called. Doesn't exist in the Intel tree, either. Remove it. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/include/linux/lnet/api.h |1 - drivers/staging/lustre/lnet/lnet/lib-move.c | 24 --- 2 files

[PATCH v3 4/8] staging: lustre: lnet: lnet: Module is LNet, not Portals

2015-05-19 Thread Mike Shuey
Fix the module version to match upstream development. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/module.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/module.c b/drivers/staging/lustre/lnet/lnet

[PATCH v3 8/8] staging: lustre: lnet: remove LNET_MUTEX_LOCK macro

2015-05-19 Thread Mike Shuey
LNET_MUTEX_LOCK and LNET_MUTEX_UNLOCK are verbose wrappers to mutex_lock and mutex_unlock. Get rid of these. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/include/linux/lnet/lib-lnet.h |2 - drivers/staging/lustre/lnet/lnet/api-ni.c | 26

[PATCH v3 6/8] staging: lustre: lnet: socklnd: code cleanup - align spacing

2015-05-19 Thread Mike Shuey
Unify variable declarations to use a single space. Also include several miscellaneous whitespace cleanups, particularly in socklnd.h. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c| 468 .../staging/lustre/lnet/klnds/socklnd

[PATCH v3 7/8] staging: lustre: lnet: selftest: code cleanup - variable spacing, indentation

2015-05-19 Thread Mike Shuey
Unify spacing in variable declarations, and align indentation in headers. General whitespace cleanups. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/selftest/brw_test.c | 60 ++-- drivers/staging/lustre/lnet/selftest/conctl.c| 54 ++-- drivers/staging/lustre

[PATCH v2 1/8] staging: lustre: code cleanup - variable declaration spacing Clean up spacing in some variable declarations, to be more consistent.

2015-05-08 Thread Mike Shuey
Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/acceptor.c | 32 ++-- drivers/staging/lustre/lnet/lnet/api-ni.c | 198 +++--- drivers/staging/lustre/lnet/lnet/config.c | 238 +- drivers/staging/lustre/lnet/lnet/lib

[PATCH v2 7/8] staging: lustre: code cleanup - variable declaration cleanups

2015-05-08 Thread Mike Shuey
Unify variable declarations to a single space. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/peer.c| 50 +++--- drivers/staging/lustre/lnet/lnet/router.c | 224 drivers/staging/lustre/lnet/lnet/router_proc.c | 210

[PATCH v2 8/8] staging: lustre: code cleanup - normalize whitespace

2015-05-08 Thread Mike Shuey
Normalize whitespace in variable declarations. Extensive cleanups to lnet/klnds/o2iblnd. Signed-off-by: Mike Shuey sh...@purdue.edu --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 458 +++--- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 679

[PATCH v2 2/8] staging: lustre: remove lnet_fini_locks (dead code)

2015-05-08 Thread Mike Shuey
lnet_fini_locks() does nothing. Remove. --- drivers/staging/lustre/lnet/lnet/api-ni.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/api-ni.c b/drivers/staging/lustre/lnet/lnet/api-ni.c index 6910f56..1adc481 100644 ---

[PATCH v2 4/8] staging: lustre: remove LNetSetAsync - dead code

2015-05-08 Thread Mike Shuey
LNetSetAsync() returns 0, and is never called. Doesn't exist in the Intel tree, either. Remove it. --- drivers/staging/lustre/include/linux/lnet/api.h |1 - drivers/staging/lustre/lnet/lnet/lib-move.c | 24 --- 2 files changed, 0 insertions(+), 25 deletions(-)

[PATCH v2 6/8] staging: lustre: lnet: lnet: Module is LNet, not Portals

2015-05-08 Thread Mike Shuey
Fix the module version to match upstream development. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/module.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/module.c b/drivers/staging/lustre/lnet/lnet

[PATCH v2 3/8] staging: lustre: code cleanup - variable declaration spacing

2015-05-08 Thread Mike Shuey
Clean up spacing in some variable declarations, to be more consistent. --- drivers/staging/lustre/lnet/lnet/lib-md.c | 26 ++-- drivers/staging/lustre/lnet/lnet/lib-me.c | 20 +- drivers/staging/lustre/lnet/lnet/lib-move.c | 240 +- 3 files changed, 143

[PATCH v2 5/8] staging: lustre: lnet: lnet: code cleanup - variable declaration spacing

2015-05-08 Thread Mike Shuey
Unify spacing among variable declaration and bulk assignments. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/lib-msg.c | 50 ++-- drivers/staging/lustre/lnet/lnet/lib-ptl.c | 116 ++-- drivers/staging/lustre/lnet/lnet/lo.c

[PATCH] staging: lustre: code cleanup - variable declaration spacing

2015-05-06 Thread Mike Shuey
Clean up spacing in some variable declarations, to be more consistent. It's small, but I need to start somewhere. Please let me know if I'm not adhering to proper procedure for trivial cleanups. Signed-off-by: Mike Shuey sh...@purdue.edu --- drivers/staging/lustre/lnet/lnet/acceptor.c | 32