Skip to content
Snippets Groups Projects
Commit 0809cd5f authored by Heinrich Schuchardt's avatar Heinrich Schuchardt :speech_balloon:
Browse files

efi_loader: Uart device path missing break


In the devicepath node to text conversion for Uart nodes a break statement
is missing.

Indicated by Coverity Scan CID 330038
Fixes: 62df6e9c ("efi_loader: Uart device path")
Signed-off-by: Heinrich Schuchardt's avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent d8eafb16
No related branches found
No related tags found
No related merge requests found
......@@ -126,8 +126,10 @@ static char *dp_msging(char *s, struct efi_device_path *dp)
switch (uart->stop_bits) {
case 2:
s += sprintf(s, "1.5)");
break;
default:
s += sprintf(s, "%d)", uart->stop_bits);
break;
}
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment