Uh oh!
There was an error while loading. Please reload this page.
[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 |
paulstelian97
left a comment
There was a problem hiding this comment.
Worth having enabled. That said are those warnings useful on current platforms, or just good for the purpose of porting to new ones?
marc-hb
commented
Apr 21, 2023
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.
After #7492 was merged the list got smaller in https://github.com/thesofproject/sof/actions/runs/4769307682/jobs/8479546182?pr=7488 EDIT: |
lyakh
commented
Apr 24, 2023
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? |
marc-hb
commented
Apr 24, 2023
They were probably in MTL while I linked to TGL or vice-versa. |
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>
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. |
kv2019i
commented
Apr 25, 2023
The CI failures are unrelated as this PR only changes the sparse script, proceeding with merge. |
marc-hb
commented
Apr 26, 2023
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 */structsof_ipc_ctrl_value_chanchanv[0];
/* component values used by routing controls like mux, mixer */structsof_ipc_ctrl_value_compcompv[0];
/* data can be used by binary controls */structsof_abi_hdrdata[0];
}; |
Catch the additional two warnings below: