2021-04-07 22:06:12

by Aline Santana Cordeiro

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

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

drivers/staging/media/hantro/hantro_hw.h | 2 +-
drivers/staging/media/hantro/hantro_mpeg2.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

--
2.7.4


2021-04-07 22:06:52

by Aline Santana Cordeiro

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

Aligns line break with the remaining function arguments
to the open parenthesis. Issue found by checkpatch.

Signed-off-by: Aline Santana Cordeiro <[email protected]>
---
drivers/staging/media/hantro/hantro_hw.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/hantro/hantro_hw.h b/drivers/staging/media/hantro/hantro_hw.h
index 34c9e46..a650b9c 100644
--- a/drivers/staging/media/hantro/hantro_hw.h
+++ b/drivers/staging/media/hantro/hantro_hw.h
@@ -207,7 +207,7 @@ hantro_h264_mv_size(unsigned int width, unsigned int height)
void hantro_g1_mpeg2_dec_run(struct hantro_ctx *ctx);
void rk3399_vpu_mpeg2_dec_run(struct hantro_ctx *ctx);
void hantro_mpeg2_dec_copy_qtable(u8 *qtable,
- const struct v4l2_ctrl_mpeg2_quantization *ctrl);
+ const struct v4l2_ctrl_mpeg2_quantization *ctrl);
int hantro_mpeg2_dec_init(struct hantro_ctx *ctx);
void hantro_mpeg2_dec_exit(struct hantro_ctx *ctx);

--
2.7.4

2021-04-07 22:07:29

by Aline Santana Cordeiro

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

Aligns line break with the remaining function arguments
to the open parenthesis. Issue found by checkpatch.

Signed-off-by: Aline Santana Cordeiro <[email protected]>
---
drivers/staging/media/hantro/hantro_mpeg2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/hantro/hantro_mpeg2.c b/drivers/staging/media/hantro/hantro_mpeg2.c
index 1d334e6..53a99a9 100644
--- a/drivers/staging/media/hantro/hantro_mpeg2.c
+++ b/drivers/staging/media/hantro/hantro_mpeg2.c
@@ -19,7 +19,7 @@ static const u8 zigzag[64] = {
};

void hantro_mpeg2_dec_copy_qtable(u8 *qtable,
- const struct v4l2_ctrl_mpeg2_quantization *ctrl)
+ const struct v4l2_ctrl_mpeg2_quantization *ctrl)
{
int i, n;

--
2.7.4