dsp: platform: Updated a macro definition
This patch updates the file descriptor PDR min length macro header
to note the inclusion of common PDR header bytes.
Change-Id: I479bea1f82680ca57f26c5b45b763669488f2eb6
Signed-off-by: Kasun Athukorala <kasunath@google.com>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ca92291..d02b000 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -73,6 +73,7 @@
run-time state machine
- Add flags parameter to `decode_pldm_firmware_update_package()`
- Add NOLINT to `pldm__package_header_information` to prevent clang-tidy errors.
+- Updated PLDM_PDR_FILE_DESCRIPTOR_PDR_MIN_LENGTH macro comment.
### Deprecated
diff --git a/include/libpldm/platform.h b/include/libpldm/platform.h
index ff66853..298c1cd 100644
--- a/include/libpldm/platform.h
+++ b/include/libpldm/platform.h
@@ -138,6 +138,7 @@
* SuperiorDirectoryFileIdentifier, FileClassification, OemFileClassification,
* FileCapabilities, FileVersion, FileMaximumSize, FileMaximumFileDescriptorCount,
* FileNameLength in `Table 108 - File Descriptor PDR` of DSP0248 v1.3.0
+ * This also includes the size of the common PDR header 10 bytes.
*/
#define PLDM_PDR_FILE_DESCRIPTOR_PDR_MIN_LENGTH 36