Re: [PATCH v2] drbd: Avoid Clang warning about pointless switch statment

2018-12-18 Thread Jens Axboe
On 12/18/18 2:22 AM, Lars Ellenberg wrote: > On Mon, Dec 17, 2018 at 10:29:38AM -0700, Jens Axboe wrote: >>> Hi Lars and Philipp, >>> >>> Could you please make sure that this patch and the other one I sent make >>> it into 4.21/5.0? I am not sure when you were planning on sending the >>> pull reque

Re: [PATCH v2] drbd: Avoid Clang warning about pointless switch statment

2018-12-18 Thread Lars Ellenberg
On Mon, Dec 17, 2018 at 10:29:38AM -0700, Jens Axboe wrote: > > Hi Lars and Philipp, > > > > Could you please make sure that this patch and the other one I sent make > > it into 4.21/5.0? I am not sure when you were planning on sending the > > pull request to Jens that you mentioned in the other t

Re: [PATCH v2] drbd: Avoid Clang warning about pointless switch statment

2018-12-17 Thread Jens Axboe
On 12/17/18 10:24 AM, Nathan Chancellor wrote: > On Thu, Oct 04, 2018 at 01:09:13PM -0700, Nathan Chancellor wrote: >> There are several warnings from Clang about no case statement matching >> the constant 0: >> >> In file included from drivers/block/drbd/drbd_receiver.c:48: >> In file included fro

Re: [PATCH v2] drbd: Avoid Clang warning about pointless switch statment

2018-12-17 Thread Nathan Chancellor
On Thu, Oct 04, 2018 at 01:09:13PM -0700, Nathan Chancellor wrote: > There are several warnings from Clang about no case statement matching > the constant 0: > > In file included from drivers/block/drbd/drbd_receiver.c:48: > In file included from drivers/block/drbd/drbd_int.h:48: > In file include