diff options
author | Nico Huber <nico.huber@secunet.com> | 2023-05-15 18:33:50 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-05-17 11:22:41 +0000 |
commit | feba51ba17b24e32fd9442310c05aaec2aa0de5f (patch) | |
tree | 73e0c5599cbcbfe2db5bbe00123e0ca98ea4120a /src | |
parent | 90f9d1c4098aa04a1852ef93b588d03ef404b4a5 (diff) |
soc/intel/xeon_sp/spr: Fix format specifier for __LINE__ (%d)
Change-Id: I1384a02fa2931002ddd629acef0a4368435cfeb5
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75233
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/xeon_sp/spr/numa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/xeon_sp/spr/numa.c b/src/soc/intel/xeon_sp/spr/numa.c index 6aba7ccad5..92ed0bf82c 100644 --- a/src/soc/intel/xeon_sp/spr/numa.c +++ b/src/soc/intel/xeon_sp/spr/numa.c @@ -44,7 +44,7 @@ enum cb_err fill_pds(void) pds.num_pds = num_cxlnodes + num_sockets; pds.pds = xmalloc(sizeof(struct proximity_domain) * pds.num_pds); if (!pds.pds) - die("%s %s out of memory.", __FILE__, __LINE__); + die("%s %d out of memory.", __FILE__, __LINE__); memset(pds.pds, 0, sizeof(struct proximity_domain) * pds.num_pds); @@ -56,7 +56,7 @@ enum cb_err fill_pds(void) pds.pds[i].socket_bitmap = 1 << i; pds.pds[i].distances = malloc(sizeof(uint8_t) * pds.num_pds); if (!pds.pds[i].distances) - die("%s %s out of memory.", __FILE__, __LINE__); + die("%s %d out of memory.", __FILE__, __LINE__); /* hard code the distances for now, till we know how to calculate them. */ for (j = 0; j < pds.num_pds; j++) { if (j == i) @@ -84,7 +84,7 @@ enum cb_err fill_pds(void) pds.pds[i].device_handle = PCI_BDF(dev); pds.pds[i].distances = malloc(sizeof(uint8_t) * pds.num_pds); if (!pds.pds[i].distances) - die("%s %s out of memory.", __FILE__, __LINE__); + die("%s %d out of memory.", __FILE__, __LINE__); /* hard code the distances until we know how to calculate them */ for (j = 0; j < pds.num_pds; j++) { if (j == i) |