thesofproject / rimage

DSP firmware image creation and signing tool
Other
7 stars 62 forks source link

error: ‘ext_length’ may be used uninitialized in this function #164

Closed dbaluta closed 1 year ago

dbaluta commented 1 year ago

We get the following error when compiling rimage:

/work/x86_64-linux/sof-imx-new/2.5.0-r0/git/rimage/src/adsp_config.c: In function ‘parse_module’:
/work/x86_64-linux/sof-imx-new/2.5.0-r0/git/rimage/src/adsp_config.c:1841:12: error: ‘ext_length’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
|  1841 |  int type, ext_length;

This might be a legit warning.

@paulstelian97 can you please have a look?

lgirdwood commented 1 year ago

@paulstelian97 any update ?

paulstelian97 commented 1 year ago

IIRC there was an internal issue that was forwarded outside, it was a wrong clone.

I'm no longer working with NXP, so this is just from memory.

lgirdwood commented 1 year ago

@dbaluta can we close ?

dbaluta commented 1 year ago

I don't exactly remembered how we fixed this but it is no longer a problem for IMX yocto builds.