]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'netrom-cleanups'
authorDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 11:46:41 +0000 (20:46 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 11:46:41 +0000 (20:46 +0900)
commit0b3bea46efe255defe997d7c091f7d03f61e87c8
treee390cf523e2e462e2fc3752bc93ca8e024c955ab
parentf437af3229f1afc97e89857a814c41691b516938
parentd2079223759b79e3a779cbd7bd1ed1be39325cb0
Merge branch 'netrom-cleanups'

Gustavo A. R. Silva says:

====================
netrom: refactor code and mark expected switch fall-throughs

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.

Changes in v2:
 - Make use of the swap macro and remove inline keyword as suggested by
   Walter Harms and Kevin Dawson.

Changes in v3:
 - Update subject for both patches.
 - Add this cover letter as suggested by David Miller.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>