Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3863158imu; Tue, 18 Dec 2018 05:30:48 -0800 (PST) X-Google-Smtp-Source: AFSGD/VlJVphKGwCJYuLtKNsEOP1UW4X+bip3rS3pIcFy/LSAQMh984h1j+zQhhdQDyuJs8kDKQ5 X-Received: by 2002:a17:902:ab92:: with SMTP id f18mr15815921plr.221.1545139848217; Tue, 18 Dec 2018 05:30:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545139848; cv=none; d=google.com; s=arc-20160816; b=ojqreppByS0wHa+psnObxkpbI5uViOmoBpOoucfPkfww6NsW5gaaHPlE9cw6ThMBlg N36/CTGA/wlplPE6oa2m4PvvEPoFrCKLpjy3D43AKKCee8hXs5+nwChjOLTsOCJjhZUj 47sJ+Vum8hoQyHRUtlEpn3e68qeFBoEgycS2N7R75/yiGNKzKmXFVzaxdHghyE902Gjr 1AcIYgwFsNKLGW+Us4PwTKGY5/yGZ0sAY2CRCE5b/FMtvZaMLskuOWFYtMdCrOYyFVs3 g4hdbD3WGEI/ILaR8ZCcosErhda3oHZkrq93J+Ng1mm+yES2Wb+cRs8qAwEXsSue3N6W kzDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=yP3NcjGDOSMZzmxRni+JaeeLFFFjjWstoEdD5qCNdSM=; b=QGeKs+rD4Iha89nptwWG1REkoqBELV6POMh0y9xNZZHa0E65Sc8Zpye/dXmOElSLZr KVgS0h+fYyPzhvkTdftKgiLBeSt16o1NY3i/0SFPIlY7dD9xUIsZCxLk+GLbtVpaValS ms8EH0H6bebdGXjZ3cOXrPbLQOfL2K1aCT8Ad0HgBZ6Ozy4Obu5sT+ntFSBiEzsE6VCo GYOYO+9+mf67E30/ONPfMrewEulNIAxaFKjFqyfCnv906c1MFtKVnVm0nMrs4p2FLDDe vY9h7npWo0SX+DRVlqylO/HmItHCwdFz9W/hF0fKx1fT5Csw7AlRYPanq5UZZ0X+ERqo BqlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=AwnNAia+; 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 h17si11274230pgd.538.2018.12.18.05.30.31; Tue, 18 Dec 2018 05:30:48 -0800 (PST) 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; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=AwnNAia+; 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 S1726649AbeLRN3S (ORCPT + 99 others); Tue, 18 Dec 2018 08:29:18 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:39175 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726536AbeLRN3S (ORCPT ); Tue, 18 Dec 2018 08:29:18 -0500 Received: by mail-pl1-f195.google.com with SMTP id 101so7839672pld.6 for ; Tue, 18 Dec 2018 05:29:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=yP3NcjGDOSMZzmxRni+JaeeLFFFjjWstoEdD5qCNdSM=; b=AwnNAia+55wtNyB3bs4kM9pJNE80Z+7Q0XVG6rR2ZlMozfVXBz/wpi3plOa5jpNf5m 6w647nC0D2Xu23mJwlHgAFBAogeKM5BvbLDNgBlyVUHpMYNDb/z9P+PUmDXuPFPieQsh cKesVKlk8M6SzHvXMjHoge9tZ8kFaLz9y2bLhIXbk/XJzX46/WYcM7kMPoGA8M2tcX1/ E5SBzjUg/53bI7PpxObgpy4vYAWWB6I7e96Bqb8tU4e1PhAasU2ahRrnu8JaWUzpMNzX 7szR6VG2F1fkHoV+pa4beDgAC3NQ+EEJpBHizmYP+3zYz/NKcYQ2VFKt2b7mc8I6Txvo FMew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yP3NcjGDOSMZzmxRni+JaeeLFFFjjWstoEdD5qCNdSM=; b=Dydnz/ypiigTLKJ/gGrG25HAbY7zyfszU5z2L2c8ykNc+LSpIVoBildFRVf2stPl2+ iGRyjtwL6uH20st5mCfHbcwjmUXOW/5LAN+8m6vvNT1tMqQIVbxc0gzcdTdzRp3472oW 4vuFammWjDwHY74OvwDuI5oozjgLfAyzKg2/8sE/cRZKJyzcHFOXU99ADW3Ty83tjwka 2EVHZvvxMKk60CFYhP2V4NTlBybs5tHBwEeds9hFEbqCJSAl5e+C5WlXVoAuMe6qSm4y mnC3WZKbyEr22L+Yd5aouDGhSLXBp0TzSIqegtLzKPcMDG0GpKNE/bpvZsI2/I8rQVFZ 2K7g== X-Gm-Message-State: AA+aEWZ2kJdvJHr+KCgS0Srt5bc8lEbntDJiW+V5gQhYy4LgqpEZOUIC 8Nm3J0dmYUAnYFZY1WbxQO1tRQ== X-Received: by 2002:a17:902:14b:: with SMTP id 69mr16751826plb.52.1545139757578; Tue, 18 Dec 2018 05:29:17 -0800 (PST) Received: from [192.168.1.121] (66.29.188.166.static.utbb.net. [66.29.188.166]) by smtp.gmail.com with ESMTPSA id p7sm22213134pfa.22.2018.12.18.05.29.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 05:29:16 -0800 (PST) Subject: Re: [PATCH v2] drbd: Avoid Clang warning about pointless switch statment To: Nathan Chancellor , Philipp Reisner , drbd-dev@lists.linbit.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Nick Desaulniers References: <20181002171447.10765-1-natechancellor@gmail.com> <20181004200912.32348-1-natechancellor@gmail.com> <20181217172401.GA30635@flashbox> <0110d874-7595-1786-77e3-e2b0daec2327@kernel.dk> <20181218092202.GJ5026@soda.linbit> From: Jens Axboe Message-ID: Date: Tue, 18 Dec 2018 06:29:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181218092202.GJ5026@soda.linbit> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 request to Jens that you mentioned in the other thread but I've >>> noticed most maintainers typically send their requests for the impending >>> merge window around -rc7 or so and I wanted to make sure it was on your >>> radar. > > I'm sorry. > From my point of view, "fixing the pointless switch" is just "pointless", > so it (again) fell through. I get it that it is important to others, > and getting rid of Clang warnings is a good thing. So sorry again. > >> It needs to get here now, but drbd hasn't really sent anything in for >> about a year, > > Last actual fix was 2018-06-25 64dafbc9530c drbd: fix access after free > so almost six month, yes. It just dropped from its usual cadence of regular updates. >> so I'm starting to doubt how maintained it is at this >> point. > > Oh, it is maintained. It is just happens to be "stable". > We don't add new features there, > and I'm currently not aware of any misbehavior. Well, I guess that's good news then :-) > I'll prepare a pull request containing this, > the other Clang warning patch from Nathan, > and possibly other small stuff that accumulated, > if I can find any, and send that out later today. > > Thanks for the reminder, Thank. -- Jens Axboe