commit | b65de2d694438a0fb3198f09a2aae3c9b8c40bd9 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri May 26 15:14:02 2023 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri May 26 15:14:02 2023 -0500 |
tree | e4d90a2273ea0cb0df5d60e7d27405d4f1a406c8 | |
parent | 5f1d7f7adeef902d5776d1af528129892a53d1c3 [diff] |
Fix GCC 13 issue GCC identifies an uninitialized local variable that is later used. Initialize the variable to a sane status. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I77a80a7c7e76c8964dfd4fb2d179aab3d7f03b03
libpeci is a library that provides various APIs to interface with the IOCTLs provided by the PECI driver in the OpenBMC kernel. Currently available here:
https://github.com/openbmc/linux/blob/dev-5.4/include/uapi/linux/peci-ioctl.h
This repo also includes a peci_cmds command-line utility with functions that map to the libpeci APIs. It can be used to test PECI functionality across the library, driver, and hardware.
This repo also includes dbus_raw_peci which provides a raw-peci daemon that exposes a raw PECI interface that is accessible over D-Bus. It can be used when an application needs to send a raw PECI command without loading the full PECI library.