Align line break to match with the open parenthesis.
Issue detected by checkpatch.pl.
Signed-off-by: Aline Santana Cordeiro
---
Changes since v1:
- Move short argument to the previous line in function call
since it didn't exceeded 80 characters in line
drivers/staging/media/tegra-
Change line break to avoid an open parenthesis at the end of the line.
It consequently removed spaces at the start of the subsequent line.
Both issues detected by checkpatch.pl.
Signed-off-by: Aline Santana Cordeiro
---
Changes since v1:
- Keep the * with the function return type
instead
Balance braces around conditional statements.
Issue detected by checkpatch.pl.
It happens in if-else statements where one of the commands
uses braces around a block of code and the other command
does not since it has just a single line of code.
Signed-off-by: Aline Santana Cordeiro
---
drivers
Balance braces around conditional statements.
Issue detected by checkpatch.pl.
It happens in if-else statements where one of the commands
uses braces around a block of code and the other command
does not since it has just a single line of code.
Signed-off-by: Aline Santana Cordeiro
---
drivers
Balance braces around conditional statements.
Issue detected by checkpatch.pl.
It happens in if-else statements where one of the commands
uses braces around a block of code and the other command
does not since it has just a single line of code.
Signed-off-by: Aline Santana Cordeiro
---
drivers
Balance braces around conditional statements.
Issue detected by checkpatch.pl.
It happens in if-else statements where one of the commands
uses braces around a block of code and the other command
does not since it has just a single line of code.
Signed-off-by: Aline Santana Cordeiro
---
drivers
Format all comments according to the coding-style.
Issue detected by checkpatch.pl.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/atomisp/pci/atomisp_cmd.h | 161 +++-
1 file changed, 43 insertions(+), 118 deletions(-)
diff --git a/drivers/staging/media
Format all comments according to the coding-style.
Issue detected by checkpatch.pl.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/atomisp/pci/atomisp_acc.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/media/atomisp/pci
Change line break to avoid an open parenthesis at the end of the line.
It consequently removed spaces at the start of the subsequent line.
Both issues detected by checkpatch.pl.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/atomisp/pci/atomisp_cmd.h | 10 +-
1 file
Format all comments according to the coding-style.
Issue detected by checkpatch.pl.
Signed-off-by: Aline Santana Cordeiro
---
Changes since v1:
- Stantardize all the multi-line and single-line comments
drivers/staging/media/atomisp/pci/atomisp_cmd.c | 377 +++-
1 file
Format multi-line comments according to the coding-style.
Issue detected by checkpatch.pl.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/atomisp/pci/atomisp_cmd.c | 109 ++--
1 file changed, 65 insertions(+), 44 deletions(-)
diff --git a/drivers/staging
Correct identation in block of conditional statements.
The function "v4l2_device_unregister_subdev()" depends on
the results of the macro function "list_for_each_entry_safe()".
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 2 +
Correct identation in block of conditional statements.
The conditional statement depends on the results of the
macro function "list_for_each_entry()".
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/atomisp/pci/atomisp_acc.c | 4 ++--
1 file changed, 2 insertions(+), 2
Remove unused macro function "v4l2_dev_to_iss_device(dev)".
Signed-off-by: Aline Santana Cordeiro
---
Changes since v2:
- No changes in code, just forgot to list the changes made
Changes since v1:
- Remove only unused macro function v4l2_dev_to_iss_device(dev)
- Left macro
Align line break to match with the open parenthesis.
Issue detected by checkpatch.pl.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/tegra-video/vi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/media/tegra-video/vi.c
b/drivers/staging
Remove unused macro function "v4l2_dev_to_iss_device(dev)".
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/omap4iss/iss.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/media/omap4iss/iss.h
b/drivers/staging/media/omap4iss/iss.h
index b88f95
Align line break to match with the open parenthesis.
Issue detected by checkpatch.pl.
It consequently solved a few end lines with a '(',
issue also detected by checkpatch.pl
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/tegra-vde/tra
Remove unused macro functions "to_iss_device()", "to_device()",
and "v4l2_dev_to_iss_device(dev)".
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/omap4iss/iss.h | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/staging/media/oma
Replace macro function by static inline function.
Issue suggested by Julia.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/omap4iss/iss_csi2.c | 49 ---
1 file changed, 26 insertions(+), 23 deletions(-)
diff --git a/drivers/staging/media/omap4iss
Replace macro function by static inline function.
Issue suggested by Julia.
Signed-off-by: Aline Santana Cordeiro
---
Changes since v1:
- Insert file path in commit message
- Remove trailing space left during modification
drivers/staging/media/omap4iss/iss_resizer.c | 126
Replace macro function by static inline function.
Issue suggested by Julia.
Signed-off-by: Aline Santana Cordeiro
---
Changes since v1:
- Insert file path in commit message
drivers/staging/media/omap4iss/iss_ipipe.c | 28 +++-
1 file changed, 15 insertions(+), 13
Replace macro function by static inline function.
Issue suggested by Julia.
Signed-off-by: Aline Santana Cordeiro
---
Changes since v1:
- Insert file path in commit message
drivers/staging/media/omap4iss/iss_ipipeif.c | 62 +++-
1 file changed, 34 insertions(+), 28
Replace macro function by static inline function.
Issue suggested by Julia.
Signed-off-by: Aline Santana Cordeiro
---
Changes since v1:
- Insert file path in commit message
drivers/staging/media/omap4iss/iss.c | 24 +---
1 file changed, 13 insertions(+), 11 deletions
Replace macro function by static inline function.
Issue suggested by Julia.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/omap4iss/iss_resizer.c | 126 ++-
1 file changed, 65 insertions(+), 61 deletions(-)
diff --git a/drivers/staging/media/omap4iss
Replace macro function by static inline function.
Issue suggested by Julia.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/omap4iss/iss_ipipeif.c | 62 +++-
1 file changed, 34 insertions(+), 28 deletions(-)
diff --git a/drivers/staging/media/omap4iss
Replace macro function by static inline function.
Issue suggested by Julia.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/omap4iss/iss_ipipe.c | 28 +++-
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/drivers/staging/media/omap4iss
Replace macro function by static inline function.
Issue suggested by Julia.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/omap4iss/iss.c | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/drivers/staging/media/omap4iss/iss.c
b
Aligns line break with the remaining function arguments
to the open parenthesis. Issue found by checkpatch.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/omap4iss/iss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/media/omap4iss/iss.c
b
Aligns line break with the remaining function arguments
to the open parenthesis. Issue found by checkpatch.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/omap4iss/iss_video.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/media/omap4iss
Rewrite macros resembling functions #define HANTRO_PP_REG_WRITE
and #define HANTRO_PP_RED_WRITE_S in lower case, according with
code style.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/hantro/hantro_postproc.c | 34 +-
1 file changed, 17 insertions
Aligns line break with the remaining function arguments
to the open parenthesis. Issue found by checkpatch.
Signed-off-by: Aline Santana Cordeiro
---
Changes since v2:
- Rename the commit messages properly
Changes since v1:
- Send patchset without the cover-letter
- Rename the commit
Aligns line break with the remaining function arguments
to the open parenthesis. Issue found by checkpatch.
Signed-off-by: Aline Santana Cordeiro
---
Changes since v2:
- Rename the commit messages properly
Changes since v1:
- Send patchset without the cover-letter
- Rename the commit
Aligns line break with the remaining function arguments
to the open parenthesis. Issue found by checkpatch.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/hantro/hantro_hw.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/media/hantro
Aligns line break with the remaining function arguments
to the open parenthesis. Issue found by checkpatch.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/hantro/hantro_mpeg2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/media/hantro
Aligns line break with the remaining function arguments
to the open parenthesis. Issue found by checkpatch.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/hantro/hantro_mpeg2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/media/hantro
Aligns line break with the remaining function arguments
to the open parenthesis. Issue found by checkpatch.
Signed-off-by: Aline Santana Cordeiro
---
drivers/staging/media/hantro/hantro_hw.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/media/hantro
Aligns line break with the remaining function arguments
to the open parenthesis. Issue found by checkpatch.
Aline Santana Cordeiro (2):
[PATCH 1/2] staging: media: hantro: Align line break to the open parenthesis
[PATCH 2/2] staging: media: hantro: Align line break to the open parenthesis
37 matches
Mail list logo