Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5331499imu; Sun, 25 Nov 2018 21:49:16 -0800 (PST) X-Google-Smtp-Source: AFSGD/UIQrOTMbV1m/YpwFO53YNe0lHs0irfsDuzxU0evplAWi57v+kR9s4m6HSaS513bHY0OJnx X-Received: by 2002:a62:1112:: with SMTP id z18mr6467820pfi.173.1543211356253; Sun, 25 Nov 2018 21:49:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543211356; cv=none; d=google.com; s=arc-20160816; b=QYKtIuhn7lSmf2sFFaRkhRU+elCVxVBTuwjR3j7VEGZv97vT9A6pNkQUoR4lnJlLH4 3KlCN+Ne/wEkf35LK6EXuAkfcx8QXGja9SxnA7XNvRdVIr7xYdu9fRJ8fAX3ZyEt4zrw PBt7VwrTvL08Zs0ZWVMOEHDaFRECTsBJImGVCwFHtbI4W8UxKzT3ipD23quGweLElB8H NMiHQg7L29mdLycKB/2xWv1Q2e8UDOHm7HpIYzK9IIRVnowDBEU0EL/rTCPaigIUVlaL 5TnG7RDfVppUM8uCXKgavZd+daWxHzB3ySAS0Zcj2irq1wkgavhOUxOuxAsAYAsTIBPP f17A== 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:dkim-signature; bh=53W/Tu/8r7IuP2Xb0G/lG1j0onkTe193aaP1L5hAyEU=; b=QnC3G6HhlUaTIIyYDA+3HQJGXcSOqQ8W9lLBoa0GlR4aIXuBF0PAbB/qsnLzNckznT MexfK3i7fTb+Lyo55juldMxHPJbWciH3gySljO5nejQSRUTM5WdbHT4GYb7b+kLsoAmP pWAK4RbPYlXVhBu0VdxIFib6BwjYopfVXqxfro+7bYC+Gge/7yTaOEBOTV62hIibBxXc 4IMHtZuoL3OtxvITcwn61CnyNVe/baLQNJm4oV749Ad3fWZUzjKPEqFiYa1C4bzfnUJ2 9dPWO23sH0L2ttTcS8zUUcc40wSES5hOddEuTeoMLh0PCJoc4xLpyGZNmNYcdJMKPCXc S89A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pqjlQ5lT; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x191si18327549pfd.220.2018.11.25.21.48.58; Sun, 25 Nov 2018 21:49:16 -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=@google.com header.s=20161025 header.b=pqjlQ5lT; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726176AbeKZQlV (ORCPT + 99 others); Mon, 26 Nov 2018 11:41:21 -0500 Received: from mail-yb1-f194.google.com ([209.85.219.194]:46806 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726153AbeKZQlV (ORCPT ); Mon, 26 Nov 2018 11:41:21 -0500 Received: by mail-yb1-f194.google.com with SMTP id i17-v6so6987392ybp.13 for ; Sun, 25 Nov 2018 21:48:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=53W/Tu/8r7IuP2Xb0G/lG1j0onkTe193aaP1L5hAyEU=; b=pqjlQ5lTr/nv9lzuKShOgsz6xRql8ZTy6Y0csdvEQ/V/izE3GQCxMCC5bDa0chuyW7 QoKlEP0PoOBr40j6HOXLdwgcJpHfRg6EmUP4g95WAu9z4fvuGhzROTpxVzzJ1sd+m7vy tydOjcipqOVZJSAXGAir+Nn5fUvVnIeNRKZ+F6gqT/7BWQmM8j8GDBiveK1qy1I3Fthl wlnpVXNXNY3NBfbtTI6dJ0E7k4gIoDBZKfykf1BRlJPDHz42CI85gjSCyl+/T9qf5EGO omYOB727N0YB0luRsSV6w+jRDNzqjOszK/wfe5d5TyNd9IsMhPqmSUGlgNRSKfZ7NHjR zazQ== 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=53W/Tu/8r7IuP2Xb0G/lG1j0onkTe193aaP1L5hAyEU=; b=agjrNSl5a7QMl/+mCTBMJbpdlz7s0SVHzfhZwkZLHTZhCYkKj95Q30fFwv65mkyly/ Lr6VnmqMJxibaQGR11t5Y5rumNBkboH9PQcayd+CumK6G/sFwl6+JvIp5hW00X3dU9LJ F3+JXiaKP9c8VgWVMDPODVy3ZulTLhG/m8QcvPTZ31j6x9h+wgkieSGkcWzupmvcT7jI 5lGTuFYjdqQJ51W2nN/MhtZcsvQLuyMv5hRfoIU9lBmE56ZKUHhdjS7Pgwa+BLa2G5FD DT81gcJR+fdBrdM7HN35YXAa4YzA0z5JDzwQk10tzxoA0DKIFZ/IvEUoQVfDph8VBagE mWdw== X-Gm-Message-State: AA+aEWZKKWevCyYO2MpfpRuOTPr2q+pZ0cAk55CWxYUkmlnEL8tSitqg gNXmTO1aj2W40Xb2jdvJJjYlRmwGEBmqK3HJ9XcC1Q== X-Received: by 2002:a25:2349:: with SMTP id j70-v6mr26150959ybj.137.1543211301268; Sun, 25 Nov 2018 21:48:21 -0800 (PST) MIME-Version: 1.0 References: <20181126111415.5cf17f39@canb.auug.org.au> <20181126115247.53cbf7be@canb.auug.org.au> In-Reply-To: <20181126115247.53cbf7be@canb.auug.org.au> From: Kees Cook Date: Sun, 25 Nov 2018 21:48:10 -0800 Message-ID: Subject: Re: linux-next: build warnings after merge of the cifs tree To: Stephen Rothwell , "Gustavo A. R. Silva" Cc: smfrench@gmail.com, sprabhu@redhat.com, linux-cifs@vger.kernel.org, Linux-Next , LKML 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 Sun, Nov 25, 2018 at 4:52 PM Stephen Rothwell wrote: > > Hi Steve, > > On Sun, 25 Nov 2018 18:31:40 -0600 Steve French wrote: > > > > Both of those cases are intentional fallthroughs and there are > > existing comments in the code noting the reasons for them to > > fallthrough > > > > (also can see the reasoning for these in the commits which introduced > > them from Sachin c369c9a4a7c82) and dde2356c84662) > > I am not questioning that :-) > > The gcc warning can be turned off by adding a /* fall through */ > comment at the point the fall through happens. Kees and others are > working on the several hundred other places that need annotating. Right. The goal is to avoid adding any _new_ cases of this. :) > This one just popped up. It's already working! :) Thanks Stephen! -Kees -- Kees Cook