[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180811.113006.1894189688013653193.davem@davemloft.net>
Date: Sat, 11 Aug 2018 11:30:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gustavo@...eddedor.com
Cc: inaky.perez-gonzalez@...el.com, linux-wimax@...el.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] wimax: usb-tx: mark expected switch
fall-through
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Date: Thu, 9 Aug 2018 10:47:20 -0500
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Notice that in this particular case, I placed the "fall through"
> annotation at the bottom of the case, which is what GCC is expecting
> to find.
>
> Addresses-Coverity-ID: 115075 ("Missing break in switch")
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
Applied.
Powered by blists - more mailing lists