Searched hist:ce750f168fa4108634e7c4de99face2a2717d3db (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/allwinner/sun50i_h616/ |
| H A D | sunxi_power.c | ce750f168fa4108634e7c4de99face2a2717d3db Thu May 15 08:57:58 UTC 2025 Boyan Karatotev <boyan.karatotev@arm.com> fix(allwinner): fix variable may be used uninitialized error
When building with LTO, the compiler observes that i2c_read() can return without writing val, declaring the variable may be used unnitialized. However, there is a sufficient error check that will prevent an actual use. So calm the compiler by giving a safe default.
Change-Id: I558618467ae324a6b5b495ec9d204935135f226d Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
|