-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
style: Inconsistent macro names changed #83061
base: main
Are you sure you want to change the base?
Conversation
54e2d54
to
d501973
Compare
d501973
to
492b6e2
Compare
@rruuaanng needs rebase |
cdee5bc
to
787fe8a
Compare
@@ -3,8 +3,8 @@ | |||
* | |||
* SPDX-License-Identifier: Apache-2.0 | |||
*/ | |||
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_NPCK_FIU_QSPI_H_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ha, so that is where the file comes from..
@rruuaanng conflicts once again and needs rebase:) thanks! |
787fe8a
to
e22f45b
Compare
@kartben I have fixed it, I will raise a PR later, hope it helps. Edit diff
It looks like the parser is parsing |
Relates to #80781 . @rruuaanng In the commit message:
|
Congratulations on discovering an interesting point. In fact, this is just a convention in Zephyr. But I'm willing to modify the commit information. It does look a little vague. |
Making things consistent is great, following a consistent pattern is also great, no disagreement at all from me. We do need to be mindful, however, that we don't lean hard on unwritten rules of right/wrong, correct/incorrect, and I feel we can use these kinds of PRs as opportunities to improve the documentation. The implicit rule is "swap |
@ajf58 Since that’s the case, are you interested in supplementing the documentation? Perhaps these guidelines should be included in the contribution guide? |
In general, yes.
I agree, this matches one of my suggestions in #80781 . Currently the documentation says follow the Linux kernel style guides, which does not specify what pattern include guards take. If there's some agreement about what is The One True include guard style, I'm happy to update the docs, but as mentioned in #80781 , some folders have multiple conflicting styles, and there's no way to tell which, if any, is correct. |
e22f45b
to
59fd2d4
Compare
Fix incorrect header file pre-macro names in 'include/zephyr/dt-bindings'. Signed-off-by: James Roy <[email protected]>
59fd2d4
to
8b9aedc
Compare
Fix incorrect header file pre-macro names in
include/zephyr/dt-bindings.