-
Notifications
You must be signed in to change notification settings - Fork 2.1k
cpu/native: use correct isr_stack for valgrind #21492
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
cpu/native: use correct isr_stack for valgrind #21492
Conversation
Small nitpick: The title and commit message should be Otherwise I just wonder how we could ensure that this would caught by CI in the future (but that's not really part of this PR). |
Totally fine with changing this but do we have well-defined rules for that? But indeed there seems to be a preference toward the proposed format: > git log --oneline | grep -c "cpu: native:"
19
> git log --oneline | grep -c "cpu/native:"
145 But some people seem to prefer > git log --oneline | grep -cE "[[:xdigit:]]{10} native:"
139 |
Indeed, there is the commit convention: https://github.com/RIOT-OS/RIOT/blob/master/CONTRIBUTING.md#commit-conventions It seems like we can blame Kaspar mostly for the exceptions 🤣
|
In 90a3f3f the ISR stack variable got renamed from __isr_stack to _isr_stack but the valgrind configuration hasn't been updated.
220ea10
to
af6da34
Compare
To be honest this looks to me rather like an example than a rule. So, if we want to streamline this, we should be probably more specific in that document. Question here is: do you see an advantage of being more pedantic here? |
I do believe that it makes sense to keep the commit messages uniform. Of course there are exceptions, but sometimes something slips through of course and there might be some stuff from "back in the day" as well. Maybe that discussion should be outsourced to an Issue or the Matrix chat though. |
Contribution description
In the cleanup PR for native (#21283) (90a3f3f) the ISR stack variable got renamed from __isr_stack to _isr_stack but the valgrind configuration hasn't been updated.
Testing procedure
Build any application for native with
make all-valgrind
.Issues/PRs references
Fixes a leftover issue from #21283