summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d8eafb1)
raw | patch | inline | side by side (parent: d8eafb1)
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | |
Wed, 31 Mar 2021 06:16:04 +0000 (08:16 +0200) | ||
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | |
Wed, 31 Mar 2021 06:22:22 +0000 (06:22 +0000) |
In the devicepath node to text conversion for Uart nodes a break statement
is missing.
Indicated by Coverity Scan CID 330038
Fixes: 62df6e9c9994 ("efi_loader: Uart device path")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
is missing.
Indicated by Coverity Scan CID 330038
Fixes: 62df6e9c9994 ("efi_loader: Uart device path")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_device_path_to_text.c | patch | blob | history |
index 43554cd771bf92664c3243a4a51515538c62e4fb..675e80bcb8a360ee96cee3f7070739506d72c362 100644 (file)
switch (uart->stop_bits) {
case 2:
s += sprintf(s, "1.5)");
+ break;
default:
s += sprintf(s, "%d)", uart->stop_bits);
+ break;
}
break;
}