diff options
author | Subrata Banik <subrata.banik@intel.com> | 2019-11-01 13:55:39 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2019-11-04 08:19:50 +0000 |
commit | 522b7c032487ad61f9fc5590ea9259044fb06061 (patch) | |
tree | 0848a1fa07aeb4dd84d221facc423d40a8c6eac4 /src/soc/intel/broadwell/smbus.c | |
parent | bda870242e16d3406eb1598059b587aee2856dd6 (diff) |
soc/intel/icelake: Clean up report_cpu_info() function
This patch makes below clean up for report_cpu_info() function
1. Replace cpu_string with cpu_not_found
2. Assign default string "Platform info not available" to cpu_not_found string
3. Add array out of bound check while skiping leading white space in cpu brand
string name
Change-Id: I41c76eb93f0c5229c4a49aa041339b8ad51ad34a
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36531
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/broadwell/smbus.c')
0 files changed, 0 insertions, 0 deletions