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/stag
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
---
drivers/staging/android/ion/hisilicon/hi6220_ion.c | 4 ++--
drivers/staging/android/uapi/ion.h | 2 +-
2
(ion_user_handle_t) to be removed. I think the typedef makes sense so
I left it intact.
Signed-off-by: Antti Keränen
---
drivers/staging/android/ion/hisilicon/hi6220_ion.c | 4 ++--
drivers/staging/android/uapi/ion.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a
Correctly align an unaligned block comment
Signed-off-by: Antti Keränen
---
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..e629394 100644
--- a/drivers
Remove unnecessary braces surrounding a single statement block
Signed-off-by: Antti Keränen
---
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_ion.c
b/drivers/staging
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
Remove unnecessary braces surrounding a single statement block
Signed-off-by: Antti Keränen
---
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_ion.c
b/drivers/staging
Correctly align an unaligned block comment
Signed-off-by: Antti Keränen
---
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..e629394 100644
--- a/drivers
This patch fixes the alignment of an allocation flag block comment
and moves the comments before each #define.
Signed-off-by: Antti Keränen
---
In addition to fixing the alignment issue, this version of the patch moves
the comments from after the define lines to before the define lines