[dpdk-dev] [PATCH] power: fix struct cache line-alignment issues

Thomas Monjalon thomas at monjalon.net
Thu May 9 20:55:48 CEST 2019


05/05/2019 20:12, Mattias Rönnblom:
> The ACPI and PState CPU frequency scaling drivers used the
> __rte_cache_aligned attribute without including rte_memory.h, which
> turns what looks as the declaration of a cache line-aligned struct
> into a non-aligned struct declaration and the definition of an
> instance of the struct.
> 
> Fixes: e6c6dc0f96 ("power: add p-state driver compatibility")
> Fixes: 445c6528b5 ("power: common interface for guest and host")
> 
> Signed-off-by: Mattias Rönnblom <mattias.ronnblom at ericsson.com>

No review was done but it seems to be a good fix.

Applied, thanks




More information about the dev mailing list