summaryrefslogtreecommitdiff
path: root/tools/docs/lib/parse_data_structs.py
diff options
context:
space:
mode:
authorSuma Hegde <suma.hegde@amd.com>2025-08-07 10:06:37 +0000
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-08-12 15:05:03 +0300
commit2c78fb287e1f430b929f2e49786518350d15605c (patch)
treea007ced366bd3030e7d63b8412edaebf01b51187 /tools/docs/lib/parse_data_structs.py
parentdff6f36878799a5ffabd15336ce993dc737374dc (diff)
platform/x86/amd/hsmp: Ensure sock->metric_tbl_addr is non-NULL
If metric table address is not allocated, accessing metrics_bin will result in a NULL pointer dereference, so add a check. Fixes: 5150542b8ec5 ("platform/x86/amd/hsmp: add support for metrics tbl") Signed-off-by: Suma Hegde <suma.hegde@amd.com> Link: https://lore.kernel.org/r/20250807100637.952729-1-suma.hegde@amd.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions