Skip to content

drivers: imx: fix checkpatch styling error - #7334

Merged
kv2019i merged 1 commit into
thesofproject:mainfrom
jiande-my:main
Apr 24, 2023
Merged

kv2019i merged 1 commit into
thesofproject:mainfrom
jiande-my:main

Conversation

@jiande-my

@jiande-my jiande-my commented Mar 26, 2023 •

Copy link
Copy Markdown

drivers: imx: fix checkpatch styling error

drivers: imx: ipc
Split long line into two short lines
at 135: FILE: src/drivers/imx/ipc.c:135:
"CHECK: line length of 103 exceeds 100 columns"

Modified to match the alignment of the open parenthesis
at 227: FILE: src/drivers/imx/ipc.c:227:
"CHECK: Alignment should match open parenthesis"

Split long line into two short lines
at 309: FILE: src/drivers/imx/ipc.c:309:
"CHECK: line length of 101 exceeds 100 columns"

drivers: imx: sai
Modified to match the alignment of the open parenthesis
at 353: FILE: src/drivers/imx/sai.c:353:
"CHECK: Alignment should match open parenthesis"

@jiande-my
jiande-my requested a review from dbaluta as a code owner March 26, 2023 07:34
@sofci

sofci commented Mar 26, 2023

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

reply test this please to run this test once

@gkbldcig

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@iuliana-prodan

Copy link
Copy Markdown
Contributor

@jiande-my thanks for the pull request.
Please merge the first 2 commits, since the second is removing something introduced in commit 1.

Also, add a commit message and a commit description, for each patch.
See an example in PR #7302

@iuliana-prodan

Copy link
Copy Markdown
Contributor

Test this please

Comment thread src/drivers/imx/ipc.c Resolved
Comment thread src/drivers/imx/sdma.c Resolved
Comment thread src/drivers/imx/ipc.c Resolved
Comment thread src/drivers/imx/ipc.c Resolved
@paulstelian97

Copy link
Copy Markdown
Collaborator

Besides the issues presented by Iuliana, I strongly recommend you visit https://thesofproject.github.io/latest/contribute/contribute_guidelines.html (specifically the developer certification of origin, but related pages are also important) and figure out the rules from that.

@jiande-my jiande-my changed the title Fix checkpatch styling errors drivers: imx: fix checkpatch styling error Mar 28, 2023
@jiande-my

Copy link
Copy Markdown
Author

@iuliana-prodan I have resolved the issue you addressed.

Comment thread src/drivers/imx/ipc.c Resolved
@iuliana-prodan

Copy link
Copy Markdown
Contributor

@iuliana-prodan I have resolved the issue you addressed.

yes, thank you!
One more comment to address.

@jiande-my

Copy link
Copy Markdown
Author

@iuliana-prodan I have resolved the issue you addressed.

yes, thank you! One more comment to address.

Done

@kv2019i kv2019i left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One note on fallthrough.

And can you check the checkpatch failure in https://github.com/thesofproject/sof/actions/runs/4540557079/jobs/8001788774?pr=7334 ?

Comment thread src/drivers/imx/sdma.c Resolved
@lgirdwood

Copy link
Copy Markdown
Member

@jiande-my I think checkpatch is failing due to the text after your Signed-off-by line.

`drivers: imx: ipc`
Split long line into two short lines
at 135: FILE: src/drivers/imx/ipc.c:135:
"CHECK: line length of 103 exceeds 100 columns"

Modified to match the alignment of the open parenthesis
at 227: FILE: src/drivers/imx/ipc.c:227:
"CHECK: Alignment should match open parenthesis"

Split long line into two short lines
at 309: FILE: src/drivers/imx/ipc.c:309:
"CHECK: line length of 101 exceeds 100 columns"

`drivers: imx: sai`
Modified to match the alignment of the open parenthesis
at 353: FILE: src/drivers/imx/sai.c:353:
"CHECK: Alignment should match open parenthesis"

Signed-off-by: Jian De <jiande2020@gmail.com>

@kv2019i kv2019i left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok now, let's see if the CI runs pass.

@lgirdwood

Copy link
Copy Markdown
Member

SOFCI TEST

@kv2019i

kv2019i commented Apr 24, 2023

Copy link
Copy Markdown
Collaborator

@wszypelt this doesn't touch any Intel driver code, so I'll override the failing Intel check. This has been pending for a looong time.

@kv2019i
kv2019i merged commit 43efd2d into thesofproject:main Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants