Use "p->sum -= checksum()" style for setting checksums.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 4 Jul 2009 17:46:33 +0000 (13:46 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 4 Jul 2009 17:46:33 +0000 (13:46 -0400)
commit523e5a995e1502deebd94efba44a1b5cb0007794
treec3fdb8f37722b1737c4a83ea02f7a5542549410e
parentd282af77b61af2172608b893a7a31fb686ec4643
Use "p->sum -= checksum()" style for setting checksums.

Some code cleared the original checksum and then calculated a new one,
    others manipulated the checksum range to not include the old
    checksum.  However, this was error prone - use the "-=" syntax
    consistently to reduce possible errors.
src/acpi.c
src/ata.c
src/coreboot.c
src/mptable.c
src/pirtable.c
src/pnpbios.c
src/post.c
src/smbios.c