[PATCH v4] staging: ion: Fix a coding style issue

2016-09-23 Thread Antti Keränen
This patch fixes the alignment of an allocation flag block comment and moves the comments before each #define. Signed-off-by: Antti Keränen <det...@gmail.com> --- In addition to fixing the alignment issue, this version of the patch moves the comments from after the define lines to

[PATCH] staging: ion: Fix checkpatch.pl coding style issues

2016-09-22 Thread Antti Keränen
(ion_user_handle_t) to be removed. I think the typedef makes sense so I left it intact. Signed-off-by: Antti Keränen <det...@gmail.com> --- drivers/staging/android/ion/hisilicon/hi6220_ion.c | 4 ++-- drivers/staging/android/uapi/ion.h | 2 +- 2 files changed, 3 insertions(+), 3 del

[PATCH] staging: ion: Fix checkpatch.pl coding style issues

2016-09-22 Thread Antti Keränen
One warning was left in place that wanted a typedef (ion_user_handle_t) to be removed. I think the typedef makes sense so I left it intact. Signed-off-by: Antti Keränen <det...@gmail.com> --- drivers/staging/android/ion/hisilicon/hi6220_ion.c | 4 ++-- drivers/staging/android/uapi

[PATCH v3 1/2] staging: ion: Fix a coding style issue

2016-09-22 Thread Antti Keränen
Remove unnecessary braces surrounding a single statement block Signed-off-by: Antti Keränen <det...@gmail.com> --- drivers/staging/android/ion/hisilicon/hi6220_ion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/ion/hisilicon/hi6220_io

[PATCH v3 2/2] staging: ion: Fix a coding style issue

2016-09-22 Thread Antti Keränen
Correctly align an unaligned block comment Signed-off-by: Antti Keränen <det...@gmail.com> --- drivers/staging/android/uapi/ion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/uapi/ion.h b/drivers/staging/android/uapi/ion.h index 647f130..e

[PATCH v2 1/2] staging: ion: Fix a coding style issue

2016-09-22 Thread Antti Keränen
Remove unnecessary braces surrounding a single statement block Signed-off-by: Antti Keränen <det...@gmail.com> --- drivers/staging/android/ion/hisilicon/hi6220_ion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/ion/hisilicon/hi6220_io

[PATCH v2 2/2] staging: ion: Fix a coding style issue

2016-09-22 Thread Antti Keränen
Correctly align an unaligned block comment Signed-off-by: Antti Keränen <det...@gmail.com> --- drivers/staging/android/uapi/ion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/uapi/ion.h b/drivers/staging/android/uapi/ion.h index 647f130..e

[PATCH v2 0/2] staging: ion: Fix checkpatch.pl coding style issues

2016-09-22 Thread Antti Keränen
This set of patches fix two coding style warnings found with checkpatch.pl I hope I got this correctly this time around :) Antti Keränen (2): staging: ion: Fix a coding style issue staging: ion: Fix a coding style issue drivers/staging/android/ion/hisilicon/hi6220_ion.c | 4 ++-- drivers

[PATCH] staging: mt7621-pci-phy: prevent use of uninitialized variable

2019-04-04 Thread Antti Keränen
Do not use uninitialized variable 'port' when printing an error message Signed-off-by: Antti Keränen --- drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c b/drivers/staging/mt7621