Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3633565imu; Tue, 18 Dec 2018 01:24:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/VNcMEmnQl2PsXeONvcQHApOuHZspoW8BksT17rDVSeJMHkjw5lJFx1KhdpByUhD9jTZWvU X-Received: by 2002:a17:902:2b8a:: with SMTP id l10mr14798077plb.70.1545125064737; Tue, 18 Dec 2018 01:24:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545125064; cv=none; d=google.com; s=arc-20160816; b=B7lTVs0RNfYCZVgk9zLU/cftzWQi/tTaY6ktg9cMxMFpBBnZHEJBWxkcP/FKRrVHDb 9pRGLRY0kkBWKbgi8oz3DeNFqT+ny73RbYwdz8BRqm29HxOrgSk1naJtWPMK2qoWMKLx e5WjGMLIG5KuZSXKs0FsfHyq1Y2Ci2C+VzodX3i4oMIJeygQoxYorlUGREeDRW7ZyHED gqQdhwwTw/qBQJx+daJthN7/yFiwyr5VGju3aUKGqX/7Vxjq770iQSlFgO2xeqokZ9Ab rvd+mw/3kIhJG1o2fS+SQuY8DN6+nZygP2sFX7Zg2JCvWpa8wBfy5T1AaQu4qtxd9ON1 D8rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=reJDQjip8OvNsd/j/JXEkcYjvOIxqRk/9WRj/efcj0I=; b=gazFPkWsJngnixiB6bP59jFnGbGfR3z3YshlstoiCJdDnMvHLiontH4zB3EC+IaQem uj/BKGgq4vt+UQGqzpLD0a/7tSrN+JRZTxlcOeRqnv4BTszRbGp/E5kEdRxL6y3q85Jp o+EOY4tC2PlS2vvnPhT5DYjYqD0/wIoBeeQBq6PRcFdoa5lazi26OxtbdBfEqSAdqs8f W0u0fTn65dtyA753gMFvtW83oA2ir8XlGvJ8MGLwLN4DWnAsrCjxr+Nv7oPqDfX9L2P5 RDqWdYGbwJSHhJ2QuLX34+B9CVmlnk7/HqjpbnZelZ5xlWipVXBio7DBMxWQ8PrnWMAX Udpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linbit-com.20150623.gappssmtp.com header.s=20150623 header.b=pqJbbzYf; 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 92si12940101plw.158.2018.12.18.01.24.08; Tue, 18 Dec 2018 01:24:24 -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=@linbit-com.20150623.gappssmtp.com header.s=20150623 header.b=pqJbbzYf; 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 S1726416AbeLRJWJ (ORCPT + 99 others); Tue, 18 Dec 2018 04:22:09 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:39308 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbeLRJWI (ORCPT ); Tue, 18 Dec 2018 04:22:08 -0500 Received: by mail-wm1-f68.google.com with SMTP id f81so1955030wmd.4 for ; Tue, 18 Dec 2018 01:22:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linbit-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=reJDQjip8OvNsd/j/JXEkcYjvOIxqRk/9WRj/efcj0I=; b=pqJbbzYfX/Z64Xtnn6yfO2dRE6W+8UI6mgWlIBlKZza21Kaufd/KWPbykdOXq6AWg/ BNqxsQp+eU/T6tfI5w5meCpPSSnBpEUwQIxF8H3Ek5/MNATXbCv5Q6XSsJ0ZaPUVUcvL PJn7T+lTDWHbQIyphebcXE3p5V6rVDpDAPsshzOL4yhni+et2e+GjVd77jg14UFhL4Sr rf9daEn6qE9NBs8hwZqWpA9Yi+xwuztuGnAb6sSOOCIz13YzXv4sNkxdv40wC8Zgc7/2 ZK6Oqre/7D/l+XskFeScwyMXmoQnyIS8J0nicff/a63xZCUI85nxef0sSYS/icnYNdNS nvgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=reJDQjip8OvNsd/j/JXEkcYjvOIxqRk/9WRj/efcj0I=; b=UDw8YAhYj1Oub1O5/NyA+m0+/GXADe2HGpLLWcqsSWevXbLQh/lqt6xqEmiEt2+CUQ Y90QX7Y35aZAOAo3ldcgwZl2YQWMTaGC5ZdMaVHHctmHNsKqH3wXuivZ9oeY5g8S8u9q ntS3sV+w5YNB3TV3/P/K5vJtLhnf6RzQe2An197j/B9GcExX/iP7R1Mx8H/89v8SkbNC PQeTAITDN2F1Hb+YcwkmU1IuTsoFp6vVW8CLfhiV2xkd2Qyh68iOIXoacdJfqYhO30gr V7kiui8HLl11T85ggHEIzWextQ5qKZDc8vaOYDcAMGFkzDccrcTkAcbal7nnVxXXX6g1 V9DA== X-Gm-Message-State: AA+aEWaYmf7kRkrTPBeqH9ENUCB1KMgwjq5VLJXeBM7k75VLranAYTaU Dn0/JQlffCDtbRYzTFr5wllAOA== X-Received: by 2002:a1c:7306:: with SMTP id d6mr2293444wmb.98.1545124926061; Tue, 18 Dec 2018 01:22:06 -0800 (PST) Received: from soda.linbit (212-186-191-219.static.upcbusiness.at. [212.186.191.219]) by smtp.gmail.com with ESMTPSA id w18sm1686607wru.54.2018.12.18.01.22.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 01:22:05 -0800 (PST) Date: Tue, 18 Dec 2018 10:22:02 +0100 From: Lars Ellenberg To: Jens Axboe Cc: Nathan Chancellor , Philipp Reisner , drbd-dev@lists.linbit.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Nick Desaulniers Subject: Re: [PATCH v2] drbd: Avoid Clang warning about pointless switch statment Message-ID: <20181218092202.GJ5026@soda.linbit> Mail-Followup-To: Jens Axboe , 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0110d874-7595-1786-77e3-e2b0daec2327@kernel.dk> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > 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. 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, Lars