aboutsummaryrefslogtreecommitdiff
path: root/scripts/Kconfiglib/kconfiglib.py
diff options
context:
space:
mode:
authorAndrew Jones <ajones@ventanamicro.com>2022-07-18 19:20:26 +0200
committerAnup Patel <anup@brainfault.org>2022-07-30 11:39:10 +0530
commit7d28d3be50c5f8b9e4780a305ab3c39062e486c1 (patch)
tree5a4cfc8ec0038fd3ecc327fd13938ac69085e985 /scripts/Kconfiglib/kconfiglib.py
parent8e86b23db9cab91d395c53d461b012ff69e63f64 (diff)
downloadopensbi-7d28d3be50c5f8b9e4780a305ab3c39062e486c1.zip
opensbi-7d28d3be50c5f8b9e4780a305ab3c39062e486c1.tar.gz
opensbi-7d28d3be50c5f8b9e4780a305ab3c39062e486c1.tar.bz2
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 <ajones@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts/Kconfiglib/kconfiglib.py')
0 files changed, 0 insertions, 0 deletions