diff options
author | Barnali Sarkar <barnali.sarkar@intel.com> | 2017-03-07 17:11:03 +0530 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-03-10 19:59:58 +0100 |
commit | 6497cd9744394782a18da28bf6228143f8f32de7 (patch) | |
tree | 31581ff4bdc5dd66fe785d9553988fe4b4340da9 /src/soc/intel/common/mrc_cache.h | |
parent | 674c089922332a600ac69c596a174c3ad2bce5c4 (diff) |
soc/intel/common: Pass the minimum possible string length for strncpy
In strncpy() function of dimm_info_fill(), the minimum possible size
of Module Part Number of DIMM is passed as argument.
BUG=chrome-os-partner:61729
BRANCH=none
TEST=Build and boot KBLRVP to verify the type 17 DIMM info coming in
SMBIOS Table from Kernel command "dmidecode".
Change-Id: Icc7667149eae9705b91e271628af1b443eb8556e
Signed-off-by: Barnali Sarkar <barnali.sarkar@intel.com>
Reviewed-on: https://review.coreboot.org/18617
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/common/mrc_cache.h')
0 files changed, 0 insertions, 0 deletions