[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180811.113000.647008252380298069.davem@davemloft.net>
Date: Sat, 11 Aug 2018 11:30:00 -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-fw: mark expected switch
fall-through
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Date: Thu, 9 Aug 2018 10:39:44 -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: 1369529 ("Missing break in switch")
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
Applied.
Powered by blists - more mailing lists