Re: [PATCH] infiniband: remove unnecessary fallthrough usage

2020-08-31 Thread Cengiz Can
On 2020-08-31 18:34, Jason Gunthorpe wrote: On Mon, Aug 31, 2020 at 06:30:34PM +0300, Cengiz Can wrote: Since /* fallthrough */ comments are deprecated[1], they are being replaced by new 'fallthrough' pseudo-keyword. [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?\

Re: [PATCH] infiniband: remove unnecessary fallthrough usage

2020-08-31 Thread Jason Gunthorpe
On Mon, Aug 31, 2020 at 06:30:34PM +0300, Cengiz Can wrote: > Since /* fallthrough */ comments are deprecated[1], they are being replaced > by new 'fallthrough' pseudo-keyword. > > [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?\ >

[PATCH] infiniband: remove unnecessary fallthrough usage

2020-08-31 Thread Cengiz Can
Since /* fallthrough */ comments are deprecated[1], they are being replaced by new 'fallthrough' pseudo-keyword. [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?\ highlight=fallthrough#implicit-switch-case-fall-through This sometimes leads to unreachable code warnings by