mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
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: 62df6e9c99
("efi_loader: Uart device path")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
d8eafb16c8
commit
0809cd5f93
|
@ -126,8 +126,10 @@ static char *dp_msging(char *s, struct efi_device_path *dp)
|
||||||
switch (uart->stop_bits) {
|
switch (uart->stop_bits) {
|
||||||
case 2:
|
case 2:
|
||||||
s += sprintf(s, "1.5)");
|
s += sprintf(s, "1.5)");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
s += sprintf(s, "%d)", uart->stop_bits);
|
s += sprintf(s, "%d)", uart->stop_bits);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user