-
Notifications
You must be signed in to change notification settings - Fork 62
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
Cppcheck fixes but its for rimage #46
Conversation
@lgirdwood do you know why the workflows are not being recognized? Also @marc-hb I have a commit to update this to actions and off travis |
Please try to copy/paste one of these two files into https://github.com/thesofproject/rimage/actions/new For the main repo I think I remember nothing happened until I started using the web interface. |
@marc-hb i think i figured it out, likely wont trigger new files when being pulled from an external fork for security reasons, since it ran fine in my repo |
nevermind, added and deleted a commit and now it all works. i blame cosmic radiation |
I did not complete it but I did initiate the addition of a github action from the web interface... blame me? |
Seems to be a common issue https://github.community/t/workflow-dispatch-workflow-not-showing-in-actions-tab/130088/25 |
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.
We can get this in rc2.
Sorry for the delay, got caught up in internal stuff |
bb83198
to
edb8aaa
Compare
Travis is failing because checkpatch is mad that im using |
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.
See below
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.
Its possible the testing used the version of rimage in $PATH. IIRC cmake check in $PATH first when it's looking for tools.
cppcheck find Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
memory clearly has exit path through argument, factor out temporary variable to silence cppcheck Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
found via cppcheck Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
CI saves lives Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
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.
This is great fixes!
FWIW i tried to update to |
See thesofproject/rimage#46 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
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.
Rimage commit 740b5f5 tested in thesofproject/sof#4205 and everything is green (I hate to admit that submodules are very well supported by github)
FWIW i tried to update to memcpy_s but the docker container we use right now doesn't have the definition so it breaks it
Does any Linux distro have memcpy_s()
?
Github does do an amazing job of handling the evil that is submodules. I'm not sure what is going on with the container. It's Ubuntu 20.04. memcpy_s has been part of gcc since ~4.8 log shows 9.x. I even checked |
Do you have
I think In the past the glibc maintainer(s) have expressed very negative opinions about these extensions submitted by Microsoft.
|
Only place I can see it is either in code that xcc compiles (aka SOF) or in one very obscure place I would not expect to be using any headers from. This is a fork of debian. Compiling a test program in the base OS also fails. So we can't assume its there it seems. |
Travis checkpatch failure, build is good. |
No description provided.