[Drbd-dev] [PATCH] drbd: avoid clang warning about pointless switch statement

Arnd Bergmann arnd at arndb.de
Wed Sep 12 12:24:20 CEST 2018


On Wed, Sep 12, 2018 at 12:01 PM Philipp Klocke <Phil_K97 at gmx.de> 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


More information about the drbd-dev mailing list