Define length of downstream device
A struct named `pldm_downstream_device` is missing its size macro,
causing the parsing size unclear, therefore, this macro is now defined.
Change-Id: Ife05c50eab2b7fd72eaf069f0dd7cde16ee13b5a
Signed-off-by: Unive Tien <unive.tien.wiwynn@gmail.com>
diff --git a/include/libpldm/firmware_update.h b/include/libpldm/firmware_update.h
index 73dabe3..272a483 100644
--- a/include/libpldm/firmware_update.h
+++ b/include/libpldm/firmware_update.h
@@ -568,6 +568,7 @@
uint16_t downstream_device_index;
uint8_t downstream_descriptor_count;
};
+#define PLDM_DOWNSTREAM_DEVICE_BYTES 3
/** @struct pldm_query_downstream_firmware_param_req
*