Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5251341imm; Wed, 12 Sep 2018 03:25:15 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdav0Ub5ohQTMjO0Tn91p/uAHP3wxOCPm7oS5Avt2Cs5TNs8A4hxfLFThAzFS2WN2cTET51j X-Received: by 2002:a62:9645:: with SMTP id c66-v6mr1499262pfe.56.1536747915258; Wed, 12 Sep 2018 03:25:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536747915; cv=none; d=google.com; s=arc-20160816; b=Sjh/Ir4+ivuLkkSPl/fi8I/gKSvwVfp5XQfBM5G2+20BQ8Pmm7+cmZg23Qtf4mKDtk EClUMdjIOpOPqsU4T1EWWVKlAnuhoe/tAS5kf7lsjdMvRkEo3jLoFpBXgzCUPq4JcgfA LThvNamgqqldrxVGai79n/Vi5qsB/FOMSWsG1ShWJ2TJJ8CegbkIx1K+ENL5sDU86Dvn XZIyBCpW9xNLfMHJlxaxUcbkGO1vXkqvMkXbJPL1aySQQeCvvVLFCO8F+tMp7B7s/Jb3 GrlesDlv/2umrlwq5MoaE6GEvnNaF8Vs6mbT/IvMu9ztnIVDfdivQ8/rp3bupt/0yXQs rBjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=81sB+O8iCk2WDsipWkaqzgbOf+7YFxoDyhiKH/Vmba4=; b=hbx/sdnx/cgiacF3BNO3/0bcR6qqiSE29VBQgaW/8aNCacNuiVOKfXxj07e8jmqzL5 YeJOIi5LJHDCm3XWUWyGyFiNKnpeRn60dKO+PlCR7Rc9nXlydS7xL3Rr/UL8eEYXoNgb LA9V3z+ddTGGQAap8LkGG3AfugkPTsdee4OMuJnvhg06RgYzoh9WYqqLjWWezTKBLC4P Adf6UpA2D3z6QSy85Vg2DZRmyKwi+yLoFbd+/ayKofHcJMiYtEd/c303r7IIWEePXuIZ REunfLIHy65iQ8M7a/BEHfRUjgzT55g4xRPX2k9K7pyrjWcc8BWcq6L4DTZjPuewKvIx zqdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d37-v6si631274pla.40.2018.09.12.03.25.00; Wed, 12 Sep 2018 03:25:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727771AbeILP2a (ORCPT + 99 others); Wed, 12 Sep 2018 11:28:30 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:35041 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726932AbeILP23 (ORCPT ); Wed, 12 Sep 2018 11:28:29 -0400 Received: by mail-qt0-f195.google.com with SMTP id j7-v6so1261784qtp.2 for ; Wed, 12 Sep 2018 03:24:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=81sB+O8iCk2WDsipWkaqzgbOf+7YFxoDyhiKH/Vmba4=; b=QKqC1q8ATpE7KzWDgz3qhNGNkr94jviaxZ01BWttxgxTYVVgDZ5B/uL05jnxro2Q0w HRnIUTeFcJXisAej20gEHq6XUIv1soxpY1teR9PZITRSQWHgY4gNzPR8MdKsbkXDJ1/5 5JfqS2f+WN1QGzzvm9lmJW2/IWNfH2or5Mr2iA0HCYc/OieiLnVpo05T7LsK2oHeogvK zh/SKfEfsKuxvAqTteBp9flkbB6Dzj6gcS/tvwu9jwawmCCT1RWhE4OitAG0n/+E/fFx dc7R2Soi8PNky26hi6GOnxYK7XoRptFAJtY6ad3S9ihfspyIbEC8G+L0ZlGHSUmjfIu+ uOjQ== X-Gm-Message-State: APzg51Bc1iEiItMONd/BR+5tD1HWsomnCNPgRxTTErVaGMVLPutso1Jj OcASg7O3cYLXeLEUcHJ4LxFstjh6uKLDngdCVZs= X-Received: by 2002:a0c:c171:: with SMTP id i46-v6mr807337qvh.40.1536747876693; Wed, 12 Sep 2018 03:24:36 -0700 (PDT) MIME-Version: 1.0 References: <4853c5b7-fc65-5499-a129-52bfc6c2851f@gmx.de> In-Reply-To: <4853c5b7-fc65-5499-a129-52bfc6c2851f@gmx.de> From: Arnd Bergmann Date: Wed, 12 Sep 2018 12:24:20 +0200 Message-ID: Subject: Re: [PATCH] drbd: avoid clang warning about pointless switch statement To: 20170201165532.2605534-1-arnd@arndb.de Cc: philipp.reisner@linbit.com, lars.ellenberg@linbit.com, drbd-dev@lists.linbit.com, Nicolas Dichtel , David Miller , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 12, 2018 at 12:01 PM Philipp Klocke 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