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

checkpatch: add __sparse_cache and __sparse_force attributes #5806

Merged
merged 1 commit into from
May 13, 2022

Commits on May 12, 2022

  1. checkpatch: add __sparse_cache and __sparse_force attributes

    These attributes were added to Zephyr's include/zephyr/debug/sparse.h by
    commit 17eb313a1b15 ("sparse: add an address space and a __sparse_force
    annotation")
    
    This gets rid of dozens of warnings in
    https://github.com/thesofproject/sof/runs/6387526478
    
    ```
    ERROR: need consistent spacing around '*' (ctx:WxV)
    +	struct comp_buffer __sparse_cache *buffer_c, *sink_c;
     	                                  ^
    
    ERROR: need consistent spacing around '*' (ctx:WxV)
    +	struct comp_buffer __sparse_cache *source_c;
     	                                  ^
    ```
    
    etc.
    
    Signed-off-by: Marc Herbert <[email protected]>
    marc-hb committed May 12, 2022
    Configuration menu
    Copy the full SHA
    6ce422c View commit details
    Browse the repository at this point in the history