public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] QE UEC driver compiler warnings...
@ 2008-01-13  1:18 Wolfgang Denk
  2008-01-14  3:14 ` Dave Liu
  2008-01-15 16:28 ` Timur Tabi
  0 siblings, 2 replies; 4+ messages in thread
From: Wolfgang Denk @ 2008-01-13  1:18 UTC (permalink / raw)
  To: u-boot

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

-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] QE UEC driver compiler warnings...
  2008-01-13  1:18 [U-Boot-Users] QE UEC driver compiler warnings Wolfgang Denk
@ 2008-01-14  3:14 ` Dave Liu
  2008-01-15 16:28 ` Timur Tabi
  1 sibling, 0 replies; 4+ messages in thread
From: Dave Liu @ 2008-01-14  3:14 UTC (permalink / raw)
  To: u-boot

> 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.

It's done, the patch is sent.
please apply it directly.

Thanks,
Dave

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] QE UEC driver compiler warnings...
  2008-01-13  1:18 [U-Boot-Users] QE UEC driver compiler warnings Wolfgang Denk
  2008-01-14  3:14 ` Dave Liu
@ 2008-01-15 16:28 ` Timur Tabi
  2008-01-15 22:11   ` Wolfgang Denk
  1 sibling, 1 reply; 4+ messages in thread
From: Timur Tabi @ 2008-01-15 16:28 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:
> 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.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] QE UEC driver compiler warnings...
  2008-01-15 16:28 ` Timur Tabi
@ 2008-01-15 22:11   ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2008-01-15 22:11 UTC (permalink / raw)
  To: u-boot

In message <478CDF1A.3010207@freescale.com> you wrote:
> Wolfgang Denk wrote:
> > 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.

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

-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-15 22:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-13  1:18 [U-Boot-Users] QE UEC driver compiler warnings Wolfgang Denk
2008-01-14  3:14 ` Dave Liu
2008-01-15 16:28 ` Timur Tabi
2008-01-15 22:11   ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox