[clang-tidy] Resolve clang-tidy errors and format

Resolve the following clang-tidy errors:
readability-avoid-const-params-in-decls
clang-analyzer-security.insecureAPI.bzero

Also run openbmc_build_scripts/scripts/format_code.sh to pass presubmit.

Google-Bug-Id: 375055098
Change-Id: I859f32863972de8cad3a71cf852c6a3e18b02e8b
Signed-off-by: David Tang <davtang@google.com>
3 files changed
tree: f445225bb261df427c5e023b5f1c6d9470ac1fa2
  1. src/
  2. subprojects/
  3. test/
  4. .clang-format
  5. .gitignore
  6. LICENSE
  7. meson.build
  8. meson_options.txt
  9. pldm-oem-google.h
  10. README.md
README.md

PLDM Google OEM specifications

This repo contains:

  1. the pldm-oem-google.h, which is the source of truth definitions of PLDM google oem elements.

  2. pldmd-oem-google static library, as extension of libpldm, contains the helper function to parser the PLDM google oem elements.

Google PLDM OEM events

Google defined PLDM OEM events will be sent as PLDM OEM event with event_class=0xF6, followed by 3 bytes of google IANA [00 D4 DE].

The specific google OEM event ID and associated oem event data format shall be defined in pldm-oem-google.h.