While this started with a broken Coverity and the plan to "quickly"
update the CI base images to latest LTS Ubuntu to fix this, it ended up
in finding some remaining unaligned accesses that may break ARM targets.
However, the majority of changes in this series are related to more
picky cppcheck when using a newer version and a lot of const pointers.
See patches for details.
Jan
Jan Kiszka (9):
uservars: Avoid alignment errors while accessing uservar structures
drivers: w83627hf_wdt: Remove return code from non-failing functions
drivers: Resolve constParameterPointer and configVariablePointer
suggestions of ccpcheck
kernel-stub: Follow constVariablePointer suggestions of ccpcheck
utils: Follow constParameterPointer and constVariablePointer
suggestions of ccpcheck
env: Follow constParameterPointer and constVariablePointer suggestions
of ccpcheck
tools: Follow const*Pointer and variableScope suggestions of ccpcheck
ci: Update to Ubuntu 24.04
scripts: Update cppcheck invocation
.github/workflows/coverity.yaml | 4 +-
.github/workflows/main.yaml | 58 +++++++++++-----------
drivers/watchdog/eiois200_wdt.c | 2 +-
drivers/watchdog/ipmi_wdt.c | 4 +-
drivers/watchdog/w83627hf_wdt.c | 37 ++++----------
env/env_api.c | 14 +++---
env/env_api_fat.c | 14 +++---
env/env_config_file.c | 4 +-
env/env_config_partitions.c | 10 ++--
env/env_disk_utils.c | 6 +--
env/uservars.c | 24 +++++----
include/ebgenv.h | 12 ++---
include/ebgpart.h | 2 +-
include/env_api.h | 10 ++--
include/env_config_file.h | 4 +-
include/env_disk_utils.h | 2 +-
include/test-interface.h | 4 +-
include/uservars.h | 10 ++--
include/utils.h | 2 +-
kernel-stub/initrd.c | 2 +-
kernel-stub/main.c | 2 +-
scripts/cppcheck.sh | 7 +--
tools/bg_envtools.c | 12 ++---
tools/bg_envtools.h | 10 ++--
tools/bg_printenv.c | 11 ++--
tools/bg_setenv.c | 12 +++--
tools/ebgpart.c | 13 ++---
tools/tests/test_ebgenv_api.c | 12 ++---
tools/tests/test_ebgenv_api_internal.c | 16 +++---
tools/tests/test_probe_config_file.c | 8 +--
tools/tests/test_probe_config_partitions.c | 2 +-
tools/tests/test_uservars.c | 6 +--
utils.c | 4 +-
33 files changed, 164 insertions(+), 176 deletions(-)
--
2.43.0
--
You received this message because you are subscribed to the Google Groups "EFI
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/efibootguard-dev/cover.1747253700.git.jan.kiszka%40siemens.com.