Skip to content

Fix a few warnings that bug me

Marek Vasut u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 9 patches 0 repliesNew

1 of 9 patches is in this archive. The cover letter announces 9.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
4/9ppc4xx: Fix strict-aliasing warnings in usb_ohci.c+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/9] Fix a few warnings that bug me

Dear Simon Glass,

Quoted 42 lines

Hi Marek,

Quoted 34 lines · Marek Vasut

Dear Simon Glass,

Quoted 24 lines

This series fixes some warnings which seem to still be left over from all the warning-squashing efforts for 2011.12. If patches exist for some of these already then please ignore.

The alias problem in USB is a bit odd, since I thought it was already fixed. But perhaps it has come back.

Simon Glass (9):
usb: Fix strict-aliasing warning in host/ohci-hcd.c Fix strict-aliasing warning in dlmalloc
mpc5xxx: Fix strict-aliasing warnings in usb_ohci.c
ppc4xx: Fix strict-aliasing warnings in usb_ohci.c
sandbox: sort header files in os.c
sandbox: Add required header to os.c
Remove CONFIG_SYS_EXTBDINFO from snapper9260.h
m68k: Change memsz to a signed char to avoid warning
ppc: Change memsz variable to signed char

 arch/m68k/lib/board.c               |    2 +-
 arch/powerpc/cpu/mpc5xxx/usb_ohci.c |   79

++++++++++++++++++++-------------- arch/powerpc/cpu/ppc4xx/usb_ohci.c | 81 ++++++++++++++++++++-------------- arch/powerpc/lib/board.c

Quoted 7 lines

| 7 +--

 arch/sandbox/cpu/os.c               |   11 +++--
 common/dlmalloc.c                   |    8 ++--
 drivers/usb/host/ohci-hcd.c         |   26 ++++++------
 include/configs/snapper9260.h       |    1 -
 8 files changed, 122 insertions(+), 93 deletions(-)
Quoted 4 lines

Can you please split out the USB part and send it to me (I became new usb maint.) please?

Thanks in advance!

Quoted 8 lines

Of course - I think you want to look at this one:

http://patchwork.ozlabs.org/patch/134600/

The two PowerPC ones apparently only happen with the 4.4 toolchain, so I think we are going to drop those and I am going to upgrade my toolchain instead :-)

Can you actually paste the MAKEALL output for those boards where you observe the issue please?

I took a look at that patch and I'm not yet completely convinced by the memcpy business there. Also, I don't want to pick patches from the middle of a patchset, so can you please resend what you consider eligible?

Thanks!

Best regards,
Marek Vasut