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
(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
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
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
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
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
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
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
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