[scan-admin@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

----- Forwarded message from scan-admin@coverity.com -----
Date: Mon, 29 Mar 2021 21:36:46 +0000 (UTC) From: scan-admin@coverity.com To: tom.rini@gmail.com Subject: New Defects reported by Coverity Scan for Das U-Boot
Hi,
Please find the latest report on new defect(s) introduced to Das U-Boot found with Coverity Scan.
1 new defect(s) introduced to Das U-Boot found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s)
** CID 330038: Control flow issues (MISSING_BREAK) /lib/efi_loader/efi_device_path_to_text.c: 127 in dp_msging()
________________________________________________________________________________________________________ *** CID 330038: Control flow issues (MISSING_BREAK) /lib/efi_loader/efi_device_path_to_text.c: 127 in dp_msging() 121 case DEVICE_PATH_SUB_TYPE_MSG_UART: { 122 struct efi_device_path_uart *uart = 123 (struct efi_device_path_uart *)dp; 124 s += sprintf(s, "Uart(%lld,%d,%d,", uart->baud_rate, 125 uart->data_bits, uart->parity); 126 switch (uart->stop_bits) {
CID 330038: Control flow issues (MISSING_BREAK) The case for value "2" is not terminated by a 'break' statement.
127 case 2: 128 s += sprintf(s, "1.5)"); 129 default: 130 s += sprintf(s, "%d)", uart->stop_bits); 131 } 132 break;
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
To manage Coverity Scan email notifications for "tom.rini@gmail.com", click https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
----- End forwarded message -----
participants (1)
-
Tom Rini