[PATCH v2 3/3] bus/dpaa: enabling clang thread safety for locks

Thomas Monjalon thomas at monjalon.net
Mon Nov 18 19:06:52 CET 2024


14/11/2024 08:44, Hemant Agrawal:
> To avoid regressions on this topic, could you look into enabling clang
> thread safety check?

This original question is replaced with a proper description of the change:

    bus/dpaa: enable clang thread safety check for FQ locks
    
    Enable "annotate_locks" for compile-time checks by clang.
    
    FQLOCK and FQUNLOCK need to be considered as lock functions
    that the clang analyzer can rely on.

> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>

Applied, thanks.




More information about the dev mailing list