Skip to content
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

Remove sparse cache annotations from buffer/audio_stream step2 #8167

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

marcinszkudlinski
Copy link
Contributor

@marcinszkudlinski marcinszkudlinski commented Sep 6, 2023

This is removal of sparse annotations:

struct audio_stream __sparse_cache => struct audio_stream
struct comp_buffer __sparse_cache => struct comp_buffer
struct sof_source __sparse_cache => struct sof_source
struct sof_sink __sparse_cache => struct sof_sink

One of the commits touches many files/lines, but is rather safe and easy to review because all changes were made by editors string find&replace - as above

To keep sparse checker happy there's no other choice - need remove all annotations in one step

UPDATE: for context #8006

@kv2019i kv2019i changed the title Remove sparse step2 Remove sparse cache annotations from buffer/audio_stream step2 Sep 11, 2023
Copy link
Contributor

@tmleman tmleman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of scrolling.

struct audio_stream __sparse_cache => struct audio_stream
struct comp_buffer __sparse_cache => struct comp_buffer
struct sof_source __sparse_cache => struct sof_source
struct sof_sink __sparse_cache => struct sof_sinkurce

this commit is 100% generated by editor find/replace
+ one cosmetic change (intent correction to make checkpatch happy)

Signed-off-by: Marcin Szkudlinski <[email protected]>
Prev commit removing __sparse was a pure editor action,
this commit is removing some other __sparse annotations and
mappings that must have been done manually

This commit contains "safe" changes only

Signed-off-by: Marcin Szkudlinski <[email protected]>
after removal of __Sparse some of lines may be
formatted differently.

This commit contains cosmetic changes only

Signed-off-by: Marcin Szkudlinski <[email protected]>
@lgirdwood lgirdwood merged commit 6ce1890 into thesofproject:main Sep 11, 2023
37 of 41 checks passed
@marcinszkudlinski marcinszkudlinski deleted the remove_sparse_step2 branch September 18, 2023 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants