From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 30 Mar 2021 15:55:46 -0400 Subject: [scan-admin@coverity.com: New Defects reported by Coverity Scan for Das U-Boot] Message-ID: <20210330195546.GW1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de ----- Forwarded message from scan-admin at coverity.com ----- Date: Mon, 29 Mar 2021 21:36:46 +0000 (UTC) From: scan-admin@coverity.com To: tom.rini at 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-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yoA22WlOQ-2By3ieUvdbKmOyw68TMVT4Kip-2BBzfOGWXJ5yIiYplmPF9KAnKIja4Zd7tU-3DBhZW_EEm8SbLgSDsaDZif-2Bv7ch8WqhKpLoKErHi4nXpwDNTstSMqVOjJgwDA20NyxjmPGeKo9BglNKh9aEhn9S8EB1oCw6cR4uIPbuszyHz3vraSMSXe5JfK8FzRi1eazsAKo10eUW6iMsCeu-2FUfPj2BWVYXPUk8POuuLy23Jkmzp64xVn1GfLKqtzR0AdMzluPThzU0tpZGM11-2B9pQvuosXc7gSzvtgM1NT-2FdGDJX575oz4-3D To manage Coverity Scan email notifications for "tom.rini at gmail.com", click https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yped04pjJnmXOsUBtKYNIXxWeIHzDeopm-2BEWQ6S6K-2FtUHv9ZTk8qZbuzkkz9sa-2BJFw4elYDyedRVZOC-2ButxjBZdouVmTGuWB6Aj6G7lm7t25-2Biv1B-2B9082pHzCCex2kqMs-3DvbKW_EEm8SbLgSDsaDZif-2Bv7ch8WqhKpLoKErHi4nXpwDNTstSMqVOjJgwDA20NyxjmPGHD541Chc5mPE3RVfCK-2BOF5NSWkQHAaXl-2FQPZFBpnL-2BC99OMxA9pkoKssB9kmXqsYsiUWfD-2B6QWUT1SZULr1-2BVSBlgeLgQdCZa9HOKrIznM7VheS4VXmqbsCHGAHtTUcscLchhANSZR0F-2FdSyUmPuL8TDwRnIHCQXi5p-2BC4h6kDU-3D ----- End forwarded message ----- -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: