Initial sparse fix series
Get series with b4
b4 am 20121024212120.GE8148@bill-the-catVersions newest first
- v1 Latest4 of 32 patches 0 repliesNew
4 of 32 patches are in this archive. The cover letter announces 32.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/32 | include/linux/byteorder: import latest endian definitions from linux | +0 | 0 replies | |
| 10/32 | include/command.h: sparse fix | +0 | 0 replies | |
| 12/32 | common/cmd_*.c: sparse fixes | +0 | 0 replies | |
| 13/32 | common/misc: sparse fixes | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/32] Initial sparse fix series
Quoted 29 lines · Tom Rini
Quoted 27 lines · Kim Phillips
This 32-patch series only begins to address making u-boot source more 'sparseable,' or sparse-clean, ultimately to catch type, address space, and endianness mismatches and generally improve code quality. E.g., in this initial dose whose main purpose is to reduce the output volume to workable levels, a couple of endianness bugs are found and fixed in
of_bus_default_translate()andfdt_get_base_address(). See [PATCH 14/32]common/fdt_support.c: sparse fixes.Patch 1 adds endianness attributes to
byteorder.hhelpers, e.g.,cpu_to_be32(). This is required for correct operation and prevents sparse from emitting false-positives.Patches 2-6 fix issues where u-boot had imported linux header code and the importer simply force-#defined sparse-specific attributes to nothing, to allow u-boot to build.
Patches 7-10 are general sparse fixes to common header areas.
Patch 11 is too, which also changes the long-standing u-boot image header types to
__be32, as per u-boot image definition.Patches 12-14 address further misc. sparse issues in common/.
Patches 15-16 do the same for the net subsystem.
Patches 17-18 do the same for
lib/.
Quoted 7 lines
Quoted 3 lines
Patch 19 for
include/fdt.h.Patches 20-23 for Power Arch's mpc8xxx, 83xx, and 85xx subsystems.
I've assigned in patchwork some of these patches to the area custodians, once reviewed please hand them back to me. For the rest of the series, I'm giving things a read and review.
To this end I'm preparing to merge some of these patches today. However, even cutting out a number of patches with changes requested already I'm seeing various failures on MAKEALL --arch arm. I'll let you know at what point I stop taking the patches in and what the error is.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121024/270d4c4a/attachment.pgp>