[PATCH 8/8] Staging: rdma ipath: braces should be used on all arms

2015-10-27 Thread SirnamSwetha
Fix all instances of the following checkpatch.pl check: CHECK: braces {} should be used on all arms of this statement Signed-off-by: SirnamSwetha --- drivers/staging/rdma/ipath/ipath_cq.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rdma/ipath

[PATCH 7/8] Staging: rdma ipath: No space is necessary after a cast

2015-10-27 Thread SirnamSwetha
This patch fixes the issue: CHECK: No space is necessary after a cast Signed-off-by: SirnamSwetha --- drivers/staging/rdma/ipath/ipath_cq.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rdma/ipath/ipath_cq.c b/drivers/staging/rdma/ipath

[PATCH 5/8] Staging: rdma ipath: Fix space before tabs, line over 80 characters

2015-10-27 Thread SirnamSwetha
This patch fixes: CHECK: no space before tabs WARNING: line over 80 characters Signed-off-by: SirnamSwetha --- drivers/staging/rdma/ipath/ipath_common.h | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rdma/ipath/ipath_common.h b/drivers/staging

[PATCH 6/8] Staging: rdma ipath: 'explict' misspelled

2015-10-27 Thread SirnamSwetha
Fix: CHECK: 'explict' may be misspelled - perhaps 'explicit'? Signed-off-by: SirnamSwetha --- drivers/staging/rdma/ipath/ipath_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rdma/ipath/ipath_common.h b/drivers/staging/rdma/

[PATCH 4/8] Staging : rdma ipath: "foo * bar" should be "foo *bar"

2015-10-27 Thread SirnamSwetha
This patch fixes: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: SirnamSwetha --- drivers/staging/rdma/ipath/ipath_common.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rdma/ipath/ipath_common.h b/drivers/staging/rdma/

[PATCH 3/8] Staging : rdma ipath: spaces preferred around that '<<'

2015-10-27 Thread SirnamSwetha
This patch fixes the checkpatch issue: CHECK: spaces preferred around that '<<' Signed-off-by: SirnamSwetha --- drivers/staging/rdma/ipath/ipath_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rdma/ipath/ipath_common.h b/driv

[PATCH 2/8] Staging: rdma ipath: __aligned(size) is preferred over __attribute__((aligned(size)))

2015-10-27 Thread SirnamSwetha
This patch fixes the checkpatch issue: WARNING: __aligned(size) is preferred over __attribute__((aligned(size))) Signed-off-by: SirnamSwetha --- drivers/staging/rdma/ipath/ipath_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rdma/ipath

[PATCH 1/8] Staging: rdma ipath: Removing multiple blank lines

2015-10-27 Thread SirnamSwetha
This patch fixes the checkpatch issue CHECK: Please don't use multiple blank lines Signed-off-by: SirnamSwetha --- drivers/staging/rdma/ipath/ipath_common.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rdma/ipath/ipath_common.h b/drivers/staging/rdma/

[PATCH 0/8] Staging: rdma ipath: fix checkpatch issues

2015-10-27 Thread SirnamSwetha
This patchset fixes checkpatch issues, for ipath_common.h and ipath_cq.c SirnamSwetha (8): Staging: rdma ipath: Removing multiple blank lines Staging: rdma ipath: __aligned(size) is preferred over __attribute__((aligned(size))) Staging : rdma ipath: spaces preferred around that