Re: [PATCH 0/2] Mark expected switch fall-throughs and fix missing break
From: Gustavo A. R. Silva <hidden>
Date: 2018-10-22 14:54:24
Also in:
linux-wireless, lkml
From: Gustavo A. R. Silva <hidden>
Date: 2018-10-22 14:54:24
Also in:
linux-wireless, lkml
On 10/22/18 4:36 PM, Jes Sorensen wrote:
On 10/22/18 7:49 AM, Gustavo A. R. Silva wrote:quoted
In preparation to enabling -Wimplicit-fallthrough, this patchset aims to mark multiple switch cases where we are expecting to fall through. Also, the second patch in this series fixes a missing break in switch.Enabling that sounds like a great way to inflict pain and suffering.
Not really. The -Wimplicit-fallthrough will be enabled until after all the current warnings have been addressed. There are 600 of these issues left. So, hopefully I will complete this task during the next development cycle. Thanks