[PATCH 0/3] Fix Missing break in switch Coverity issues

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Mar 5 18:48:17 UTC 2021


On 05/03/2021 19:40, Joel Sherrill wrote:

> On Fri, Mar 5, 2021, 12:25 PM Sebastian Huber 
> <sebastian.huber at embedded-brains.de 
> <mailto:sebastian.huber at embedded-brains.de>> wrote:
>
>     On 05/03/2021 16:27, Gedare Bloom wrote:
>
>     > Should we add a macro for this, e.g., "RTEMS_CASE_NO_BREAK" so
>     that we
>     > can update them in future if needed for other tools?
>     I would just pick a name which is understood by GCC, clang, and
>     Coverity. I guess other tools will understand this or why did you
>     buy them?
>
>
> Well we didn't pay for any of those but are you wanting a macro or 
> just the comment?

I would just use a comment which is understood by GCC, clang, and 
Coverity. What does Linux use?

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/



More information about the devel mailing list