On 13/02/2024 10:45, Arnd Bergmann wrote:
On Tue, Feb 13, 2024, at 11:22, Suzuki K Poulose wrote:
coresight: tpdm: Fix build break due to uninitialised field
{CMB/DSB}_PATT_ENABLE_TS attributes do not use an index field. But some compilers complain for uninitialised "index" field in the struct tpdm_dataset_attribute:
...
Reported-by: Arnd Bergmann arnd@arndb.de Cc: Tao Zhang quic_taozha@quicinc.com Signed-off-by: Suzuki K Poulose suzuki.poulose@arm.com
Works fine here with this, thanks for the fix!
Acked-by: Arnd Bergmann arnd@arndb.de
I had actually missed that this is a warning option that is normally disabled even at W=1 level, but it does get added by drivers/hwtracing/coresight/Makefile setting -Wextra again because that comes after the -Wno-missing-field-initializers from scripts/Makefile.extrawarn.
Arnd
Thanks, I will queue this.
Suzuki