Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5227453imm; Wed, 12 Sep 2018 03:02:57 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYoxQO4hnfe1z0migzXy/n+D+BcXTYqqb9avMzmvDbT10j1qO5gH89nqObVCeTlQ6xLpF/u X-Received: by 2002:a63:df4e:: with SMTP id h14-v6mr1315189pgj.300.1536746577122; Wed, 12 Sep 2018 03:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536746577; cv=none; d=google.com; s=arc-20160816; b=GWvVODoV605m/+jMONnyqmbzQN9LD8W27u1Q3s0mn6jjHve6R7//B+2aM3mJNixZuy 9On2zVsqr0QxIB2BXVhgU8ABofxCEJxzicLAZXZJipo3ZBOc6EkBbhxlj1rQ0M800FsK Jk3KOnPIMZ4tneeVAwsaKqMAwChbtrlxw/ItneUctVOt7zLkxrPdp6zEG+okZ93JW+5q zeIYZ6OwLUKc74i+EmsmIeRNaPHqlu5h+jp0GAvjdy7DlbB2yk/LMT9vS7t388+7AWGj zZHsdgnJCsmpeU9o+FXnbGwe0R6exVtiUNggx7kVxxap/jDUFPYl2XXEMW0r8XGwTJSd HxyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:mime-version:user-agent:date:message-id :autocrypt:openpgp:subject:from:cc:to:reply-to; bh=Xt4BhNGsTBP6nl4fpt9WxdLWROX5K4jzpqjJg1HN05g=; b=lLEueS1qODvyTB6vaa2/i8WR+pWdRnoeYiDupQcgRcB0La2XW/2xR3D8YpFUQVLW7I axou3a8vFnK79/o3EB5uMPJhbW/Fl2MvBJGwH153ZsIYHNeddkgfcbwG1pc5A2EwwpDN WdJo43tXipQCvglgqAjmrUBqm/QfYNANm2hS8ZTIKQeJeejK+VlSWEbF7ELXUmkXegt8 /AcQDgvQtrc3b+6MHifZsxt8mTjINqjBBT9ohFV1JwomTGWzph2F80XDhu+dGpRR0lT9 yr6Rmhsy2jRUpOYkC+AEKxW0cstHqWi7Ko4L0oez5VByFrxu7cBPWqCAzxIClIlhvH9u K1xw== 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 29-v6si589409pgn.676.2018.09.12.03.02.37; Wed, 12 Sep 2018 03:02:57 -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 S1727600AbeILPFq convert rfc822-to-8bit (ORCPT + 99 others); Wed, 12 Sep 2018 11:05:46 -0400 Received: from mout.gmx.net ([212.227.17.20]:40815 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726552AbeILPFq (ORCPT ); Wed, 12 Sep 2018 11:05:46 -0400 Received: from [192.168.178.201] ([79.193.244.88]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lomql-1fKwzM0Znn-00gq49; Wed, 12 Sep 2018 12:01:51 +0200 Reply-To: 20170201165532.2605534-1-arnd@arndb.de To: arnd@arndb.de, philipp.reisner@linbit.com, lars.ellenberg@linbit.com Cc: drbd-dev@lists.linbit.com, nicolas.dichtel@6wind.com, davem@davemloft.net, linux-kernel@vger.kernel.org From: Philipp Klocke Subject: Re: [PATCH] drbd: avoid clang warning about pointless switch statement Openpgp: preference=signencrypt Autocrypt: addr=Phil_K97@gmx.de; prefer-encrypt=mutual; keydata= xsFNBFXDU4UB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8W5kbcLqEnHKT2Kx+KqKf yFdQnhDjshgKgu5hd67m6Lv+jD/lXLEkHMwYqBjqhcRinhDtLZOKskK7h0MAEQEAAcLBZQQY AQgADwUCVcNThQIbDAUJCWYBgAAKCRBPmrpXHFpjqy0QEADqUcSEJr5tRG0633Abw94K7Vf0 zj2cM8TIGK099wrFAtqX45Lq0rzES0K8uWTCo46HG4EDIHB9AyAViOlb/Rlp3iq63S+mP+Mo 9/amfn17fE07wMAm+fUtsfhrZcbBZpEjpCC2WBcqq2kzA5zV1HdcD6MhCV9MANkgBiRCGiLI Rc6hd0QuNlf6RdLdSCEibFVuC129860Jm6BUabjKWUoo4JgTadrqcm81e9f4uAxb6H8AdiPy RHzHNyNFwv4btWJBoz//tbk3loActraIag14TXWStAqFvnxaoTm+03/qisqyiTupJjjV87IA IHeJh7vajm000AjY1O8jdQBhKZ7OMsuBugtsM2B2KURfiDmBj+2/gyJDfJ4wg8GXc26DS8ON 7XTJPtmpgChrnx6aSPSVH14ic1egjS4mpd5papSMJBM7YPM/W/hKvy4+bahfi7jX+9bTQG7y 6jyB/OhtJ9R25mgJV9ixuGo+u/hKWTnuw3QkB3LnNcJRagM0JWUL1u+WGF/hdn5bk0lWMCEO LzzPe1A1zCtWKkbngoC+/XqkIFoGtftGXtxYLiOMBd87S7zCEniUQyL5dZWZl9xtpkcdbNEv uw5tIyT766GkXUFqUhuEzuVcY5Pz0lxOQh0L9WRciLWXcGHvvXhbNGtwsfOJf1UBEx/iVYZG 12TtBTzNsw== Message-ID: <4853c5b7-fc65-5499-a129-52bfc6c2851f@gmx.de> Date: Wed, 12 Sep 2018 12:01:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Content-Language: en-HK X-Provags-ID: V03:K1:VO0Q4pUHEoJkjyF8VfkInoz9VN7t6MjOfTWuhQ1CxBOXdvtFoB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d7sy2EruTjCQ= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Best regards, Philipp