summaryrefslogtreecommitdiff
path: root/scripts/create-binary-archive.sh
diff options
context:
space:
mode:
authorAndrew Jones <[email protected]>2022-07-18 19:20:26 +0200
committerAnup Patel <[email protected]>2022-07-30 11:39:10 +0530
commit7d28d3be50c5f8b9e4780a305ab3c39062e486c1 (patch)
tree5a4cfc8ec0038fd3ecc327fd13938ac69085e985 /scripts/create-binary-archive.sh
parent8e86b23db9cab91d395c53d461b012ff69e63f64 (diff)
lib: utils/serial: Initialize platform_uart_data to zero
While it doesn't look like there are any current cases of using uninitialized data, let's zero all the UART data members to be safe. Zero may not actually be better than a random number in some cases, so all structure members should still be validated before use, but at least zero is usually easier to debug than some random stack garbage... Signed-off-by: Andrew Jones <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'scripts/create-binary-archive.sh')
0 files changed, 0 insertions, 0 deletions