-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align include guards with OpenOCD coding guidelines. #1103
Align include guards with OpenOCD coding guidelines. #1103
Conversation
Same issue with
|
Maybe it has a problem with this:
But I have no idea where this text came from because I never entered it as part of the commit message:
|
If anybody can advise on how to rectify this - ideally by amending the original commit message and then getting that pushed to my forked repo and then reflected in this PR so that I don't have to do everything again from scratch - please let me know. Thanks. |
I tried this:
but it never returned and I had to kill it. |
My guess would be that checkpatch wants to see commit message in this form:
Other than this detail, the changes look good. |
I hope it is enough to:
|
@TommyMurphyTM1234, the issue with your commit message is that you have missed a blank line between the first sentence and the second one. |
You are right. I've missed this while writing my previous comment. |
b83598e
to
e0c6548
Compare
Thanks @JanMatCodasip (and @en-sc) for the comments. I used the commands above to change the commit message to add a blank line between the two existing lines and then do a force push and it looks like |
e9cad96
to
4f93293
Compare
I give up - I can't deal with Now it's saying:
Even though I reverted back to the original version of this file which has no such license id line.
|
@TommyMurphyTM1234, please, try squashing the commits by running:
|
You are getting all these errors due to #1085.
|
Thanks for the comments/suggestions and explanations @en-sc. I find |
Hi @en-sc, I did this.
If I do
Would it be simpler to just try from scratch a third time? |
@TommyMurphyTM1234, |
4f93293
to
2e5cc02
Compare
Thanks - that allowed me to push but now
|
Closing this PR and I will try again with from scratch. |
Second attempt after I couldn't get this PR to work:
Addresses this issue:
Note that
encoding.h
has not been changed in this repo as it is programatically generated elsewhere, so the include guard would need to be changed there if possible/appropriateriscv-openocd/src/target/riscv/encoding.h
Lines 5 to 8 in f5f5f6d