commit | d3d6f5463c3b7c8f02f296ea480a00ec4c1e59f2 | [log] [tgz] |
---|---|---|
author | Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> | Fri May 10 15:17:57 2024 +0300 |
committer | Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> | Tue May 14 10:40:23 2024 +0200 |
tree | 4d17085b363c710209e88250f1dafb61d9edbd17 | |
parent | 1691eee42f616669822de7b1bf2c64568f95ead9 [diff] |
fix(s32g274a): avoid overwriting const fields This corrects the following Coverity issue: CID 425810: High impact quality (WRITE_CONST_FIELD). A write to an aggregate overwrites a const-qualified field within the aggregate. (void)memset(&s32g2_console, 0, sizeof(s32g2_console)); Change-Id: Idc332be2c4dbf4858d2e9be0b41d5eba86587258 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>