[PATCH 0/5] tidy up void * pointer arithmetic
Colin King
colin.king at canonical.com
Thu Sep 11 14:05:24 UTC 2014
From: Colin Ian King <colin.king at canonical.com>
Although gcc allows void * pointer arithmetic it probably
should be avoided sinc the behaviour is undefined and cppcheck
picks this up as an issue. So fix up a few places where it
is being used.
Colin Ian King (5):
acpi: acpidump: avoid using void * pointer arithmetic
acpi: dmar: avoid using void * pointer arithmetic
lib: fwts_alloc: avoid using void * pointer arithmetic
lib: fwts_mmap: avoid using void * pointer arithmetic
lib: fwts_multiproc: avoid using void * pointer arithmetic
src/acpi/acpidump/acpidump.c | 8 ++++++--
src/acpi/dmar/dmar.c | 12 ++++++------
src/lib/src/fwts_alloc.c | 11 ++++++-----
src/lib/src/fwts_mmap.c | 5 +++--
src/lib/src/fwts_multiproc.c | 4 ++--
5 files changed, 23 insertions(+), 17 deletions(-)
--
2.1.0
More information about the fwts-devel
mailing list