From 6ab16b1d81a46211e57edaebe38b51af80d2ba9b Mon Sep 17 00:00:00 2001 From: Kamil Wiatrowski Date: Wed, 11 Sep 2019 16:14:05 +0200 Subject: [PATCH] capabilities plugin: few minor updates in comments Change-Id: Ib37b1c9bdf09955704267ad1847d8a418df94a26 Signed-off-by: Kamil Wiatrowski --- README | 3 ++- src/utils/dmi/dmi.h | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README b/README index 54babf6ac..cb1e9807f 100644 --- a/README +++ b/README @@ -49,7 +49,8 @@ Features Statistics from buddyinfo file about memory fragmentation. - capabilities - Platform static capabilities decoded from SMBIOS using dmidecode. + Platform capabilities decoded from hardware subsystems, for example from + SMBIOS using dmidecode. - ceph diff --git a/src/utils/dmi/dmi.h b/src/utils/dmi/dmi.h index c81ff77b6..0ec8ccead 100644 --- a/src/utils/dmi/dmi.h +++ b/src/utils/dmi/dmi.h @@ -28,6 +28,9 @@ #ifndef UTILS_DMI_H #define UTILS_DMI_H +/* Size of buffer for single dmi entry, just an estimation with big margin, + * could be increased if the new generation of platform requires it to. + */ #define DMI_MAX_LEN 256 #define DMI_OK 0 -- 2.39.5