-
Notifications
You must be signed in to change notification settings - Fork 318
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
[SKIP CI] parse_sparse_output.sh: add "removes address space" and "too many" #7488
Conversation
This is unhiding the following warnings:
EDIT: src. fixes submitted in #7492 |
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.
Worth having enabled. That said are those warnings useful on current platforms, or just good for the purpose of porting to new ones?
According to @lyakh (please correct me) these two warnings should have always been caught from the beginning, this was a miss. This is not checking something new. |
This comment was marked as outdated.
This comment was marked as outdated.
eda58c4
to
4815f05
Compare
After #7492 was merged the list got smaller in https://github.com/thesofproject/sof/actions/runs/4769307682/jobs/8479546182?pr=7488
EDIT: |
I'd rather fix AMS - IIUC it's supposed to be a rather central common functionality, included by default in most builds |
@marc-hb I don't see these warnings in the logs, that you've linked? |
They were probably in MTL while I linked to TGL or vice-versa. |
4815f05
to
8d6be55
Compare
Only the 3 AMS warnings left in https://github.com/thesofproject/sof/actions/runs/4789322954/jobs/8517045526?pr=7488 after the big zephyr upgrade #6480! \o/ EDIT: AMS just fixed in #7501 |
Catch the additional two warnings below: warning: too many warnings warning: cast removes address space Signed-off-by: Marc Herbert <marc.herbert@intel.com>
8d6be55
to
65114ad
Compare
Green sparse log in https://github.com/thesofproject/sof/actions/runs/4791424286/jobs/8521820464?pr=7488 Thanks @lyakh ! Can we merge this quickly before someone adds a new sparse regression? :-) Ooops: re-requested @lyakh 's review and lost his approval by accident. It's still above on April 23. https://sof-ci.01.org/sof-pr-viewer/#/build/PR7488/build11882024 is red but this PR is a pure SPARSE filter change, totally unrelated. |
The CI failures are unrelated as this PR only changes the sparse script, proceeding with merge. |
Actually the warning in /* Flexible array members[] are forbidden in unions but this
* does not seem to bother gcc as long as non-standard
* zero-length arrays[0] are used instead. Nesting flexible
* array member declarations in arrays or structures is
* forbidden too. Cleaning this up would likely require code
* changes to explicitly cast intermediate steps.
*/
/* control data - add new types if needed */
union {
/* channel values can be used by volume type controls */
struct sof_ipc_ctrl_value_chan chanv[0];
/* component values used by routing controls like mux, mixer */
struct sof_ipc_ctrl_value_comp compv[0];
/* data can be used by binary controls */
struct sof_abi_hdr data[0];
}; |
Catch the additional two warnings below: