Skip to contentSkip to conversation

[[email protected]: New Defects reported by Coverity Scan for Das U-Boot]

[email protected]: New Defects reported by Coverity Scan for Das U-Boot Tom Rini 1 participant 1 message Mar 30, 2021

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

----- Forwarded message from scan-admin at coverity.com -----

Date: Mon, 29 Mar 2021 21:36:46 +0000 (UTC)
From: [email protected]
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 -----

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210330/2fbf2a95/attachment.sig>