Skip to content

CI fails because warning in LOG_ERR() in drivers/i2s_ll_stm32.c #16170

@avisconti

Description

@avisconti

The i2s_ll_stm32 driver makes use of LOG_ERR with a wrong argument type:

LOG_ERR("%s: err=%d", func, LL_I2S_ReadReg(cfg->i2s, SR));

Infact, the LL_I2S_ReadReg() function returns uint32_t, while %d requires 'int' as a type.
As a consequence, the compiler returns a warning which is finally mapped to error during
Continuos Integration (CI) tests.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions