[PATCH v2] staging: media: tegra-video: Align line break to match with the open parenthesis in file vi.c

2021-04-15 Thread Aline Santana Cordeiro
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-

[PATCH v2] staging: media: atomisp: pci: Change line break to avoid an open parenthesis at the end of the line

2021-04-15 Thread Aline Santana Cordeiro
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

[PATCH 4/4] staging: media: atomisp: pci: Balance braces around conditional statements in file atomisp_v4l2.c

2021-04-15 Thread Aline Santana Cordeiro
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

[PATCH 3/4] staging: media: atomisp: pci: Balance braces around conditional statements in file atomisp_subdev.c

2021-04-15 Thread Aline Santana Cordeiro
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

[PATCH 2/4] staging: media: atomisp: pci: Balance braces around conditional statements in file atomisp_compat_css20.c

2021-04-15 Thread Aline Santana Cordeiro
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

[PATCH 1/4] staging: media: atomisp: pci: Balance braces around conditional statements in file atomisp_cmd.c

2021-04-15 Thread Aline Santana Cordeiro
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

[PATCH 2/2] staging: media: atomisp: pci: Format comments according to coding-style in file atomisp_cmd.h

2021-04-14 Thread Aline Santana Cordeiro
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

[PATCH 1/2] staging: media: atomisp: pci: Format comments according to coding-style in file atomisp_acc.c

2021-04-14 Thread Aline Santana Cordeiro
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

[PATCH] staging: media: atomisp: pci: Change line break to avoid an open parenthesis at the end of the line

2021-04-14 Thread Aline Santana Cordeiro
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

[PATCH v2] staging: media: atomisp: pci: Format comments according to coding-style in file atomisp_cmd.c

2021-04-14 Thread Aline Santana Cordeiro
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

[PATCH] staging: media: atomisp: pci: Format multi-line comments according to coding-style in file atomisp_cmd.c

2021-04-14 Thread Aline Santana Cordeiro
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

[PATCH 1/2] staging: media: atomisp: pci: Correct identation in block of conditional statements in file atomisp_v4l2.c

2021-04-14 Thread Aline Santana Cordeiro
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 +

[PATCH 2/2] staging: media: atomisp: pci: Correct identation in block of conditional statements in file atomisp_acc.c

2021-04-14 Thread Aline Santana Cordeiro
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

[PATCH v3] staging: media: omap4iss: Remove unused macro function

2021-04-14 Thread Aline Santana Cordeiro
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

[PATCH] staging: media: tegra-video: Align line break to match with the open parenthesis in file vi.c

2021-04-14 Thread Aline Santana Cordeiro
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

[PATCH v2] staging: media: omap4iss: Remove unused macro function

2021-04-14 Thread Aline Santana Cordeiro
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

[PATCH] staging: media: tegra-vde: Align line break to match with the open parenthesis in file trace.h

2021-04-12 Thread Aline Santana Cordeiro
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

[PATCH] staging: media: omap4iss: Remove unused macro functions

2021-04-12 Thread Aline Santana Cordeiro
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

[PATCH] staging: media: omap4iss: Replace macro function by static inline function in file iss_csi2.c

2021-04-12 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 4/4 v2] staging: media: omap4iss: Replace macro function by static inline function in file iss_resizer.c

2021-04-12 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 2/4 v2] staging: media: omap4iss: Replace macro function by static inline function in file iss_ipipe.c

2021-04-12 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 3/4 v2] staging: media: omap4iss: Replace macro function by static inline function in file iss_ipipeif.c

2021-04-12 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 1/4 v2] staging: media: omap4iss: Replace macro function by static inline function in file iss.c

2021-04-12 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 4/4] Replace macro function by static inline function in file iss_resizer.c

2021-04-12 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 3/4] Replace macro function by static inline function in file iss_ipipeif.c

2021-04-12 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 2/4] Replace macro function by static inline function in file iss_ipipe.c

2021-04-12 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 1/4] Replace macro function by static inline function in file iss.c

2021-04-12 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 1/2] staging: media: omap4iss: Align line break to the open parenthesis in file iss.c

2021-04-09 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 2/2] staging: media: omap4iss: Align line break to the open parenthesis in file iss_video.c

2021-04-09 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH] staging: media: hantro: Rewrite macro function in lower case

2021-04-09 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 2/2 v3] staging: media: hantro: Align line break to the open parenthesis in file hantro_mpeg2.c

2021-04-09 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 1/2 v3] staging: media: hantro: Align line break to the open parenthesis in file hantro_hw.h

2021-04-09 Thread Aline Santana Cordeiro
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

[PATCH 1/2 v2] staging: media: hantro: Align line break to the open parenthesis in file hantro_hw.h

2021-04-08 Thread Aline Santana Cordeiro
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

[PATCH 2/2 v2] staging: media: hantro: Align line break to the open parenthesis in file hantro_mpeg2.c

2021-04-08 Thread Aline Santana Cordeiro
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

[PATCH 2/2] staging: media: hantro: Align line break to the open parenthesis

2021-04-07 Thread Aline Santana Cordeiro
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

[PATCH 1/2] staging: media: hantro: Align line break to the open parenthesis

2021-04-07 Thread Aline Santana Cordeiro
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

[Outreachy kernel][PATCH 0/2] staging: media: hantro: Align line break to the open parenthesis

2021-04-07 Thread Aline Santana Cordeiro
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