Re: [PATCH v3 0/2] refactor code and mark expected switch fall-throughs

From: Gustavo A. R. Silva
Date: Wed Nov 01 2017 - 13:34:21 EST



Quoting David Miller <davem@xxxxxxxxxxxxx>:

From: "Gustavo A. R. Silva" <garsilva@xxxxxxxxxxxxxx>
Date: Fri, 27 Oct 2017 00:50:57 -0500

The aim of this patchset is firstly to refactor code in nr_route.c in order to make it
easier to read and maintain and, secondly, to mark some expected switch fall-throughs
in preparation to enabling -Wimplicit-fallthrough.

I have to mention that I did not implement any unit test.
If someone has any suggestions on how I could test this piece of code
it'd be greatly appreciated.

Series applied, thank you.

Glad to help.

Thanks
--
Gustavo A. R. Silva