QE UEC driver compiler warnings...
Dear Dave,
the QE UEC driver (in the top-of-tree version as of now) produces a few compiler warnings:
qe.c: In function 'qe_upload_firmware':
qe.c:390: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness uec.c: In function 'uec_initialize':
uec.c:1236: warning: 'uec_info' may be used uninitialized in this function
Please fix. Thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Things are not as simple as they seem at first. - Edward Thorp
Quoted 9 lines
qe.c: In function 'qe_upload_firmware':
qe.c:390: warning: pointer targets in passing argument 2 of 'strcpy' differ in signednessuec.c: In function 'uec_initialize':
uec.c:1236: warning: 'uec_info' may be used uninitialized in this functionPlease fix. Thanks.
It's done, the patch is sent.
please apply it directly.
Thanks,
Dave
Quoted 7 lines · Wolfgang Denk
Dear Dave,
the QE UEC driver (in the top-of-tree version as of now) produces a few compiler warnings:
qe.c: In function 'qe_upload_firmware':
qe.c:390: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
That's odd, I've never seen that. I'll post a patch to fix it. FYI, this is not in the QE UEC driver, but in the QE library.
Signature · 2 lines
Timur Tabi Linux kernel developer at Freescale
Quoted 11 lines · In message <[email protected]> you wrote:
Quoted 7 lines · Wolfgang Denk
Dear Dave,
the QE UEC driver (in the top-of-tree version as of now) produces a few compiler warnings:
qe.c: In function 'qe_upload_firmware':
qe.c:390: warning: pointer targets in passing argument 2 of 'strcpy' differ in signednessThat's odd, I've never seen that. I'll post a patch to fix it. FYI, this is not in the QE UEC driver, but in the QE library.
Guess you're using older compilers, then. Try using GCC-4.2 if you want to start some bigger cleanup now... ;-)
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Roses are red Violets are blue Some poems rhyme