Re: [PATCH] drbd: avoid clang warning about pointless switch statement

From: Arnd Bergmann
Date: Wed Sep 12 2018 - 06:24:39 EST


On Wed, Sep 12, 2018 at 12:01 PM Philipp Klocke <Phil_K97@xxxxxx> wrote:
>
> Hello,
>
> I've also stumbled across the "warning: no case matching constant switch
> condition '0'" and wanted to fix it.
> As your suggestion is probably the best way, I wanted to ask why it
> didn't get merged yet.
>
> Maybe the patch got lost?

I think I never followed up on the patch when it didn't get merged the
first time around. If you have a copy at hand, could you add your
Signed-off-by and send a version that applies to the current kernel?

Arnd