Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7172546imu; Tue, 22 Jan 2019 01:25:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN7X2pqcKEmzEmBRwRic0glZsxWctNi3AHFs8IUPZnLfoGGY4lDkko92LwhvthITDz5jwhrF X-Received: by 2002:a63:6c48:: with SMTP id h69mr30066972pgc.139.1548149132017; Tue, 22 Jan 2019 01:25:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548149131; cv=none; d=google.com; s=arc-20160816; b=HMMvcZPng0HTvDGPAi800nE27jv14vGPWiFVCDfJtcEarlOWoaxykU1JIGTnBNMgNW ackKNC/p2TjJX2fB9WF59B3NYytoZx+8FVpoii7w+gyM+ercx75+prqbx/ysBpApEYve v9fZFqTNzLjoNPr6Fuevp073I1wIr5tDUy6nm3Wrc9GVIZzqyXxPQPMhDlepQ4KONiKm po9oj211+nDTG5WETYUTWLCD3zqiqHsenKsPPX4ThUH2VV4N/QOoyDHAOoCtzurXdHRz 101ffra8DO6mRjlaW2BvxiP4Fy0cZxgCWn8MEDUx5MCG6ztD0umCECqlFTBRUz5d0QQH J4mQ== 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:message-id:subject:cc :to:from:date:dkim-signature; bh=X9A7vBtE49dIjNRC6fg/xWXbsewKhnjMKw3lZrwWAOg=; b=XKvfLdJf+XdYPtBPhPkACXh+Qp54rroeXRhB42ESW9nQJGYoSM+3D8TQX2eUFHok6V tcy8oiJbg2pAcmvLXwPXabPuSgOS0ZQREze1J5aSN7ocGwK/418cVncrqgCurEnBwU3T aapMLpUnebgLoDFiKKksVLXaA1kAL7MMLXMtHoWM57R6e6JAMvDmRIefDrMkj5DBKnOi 1wxcBpAzeGpw2g3OES+5SK1IM2YrlS+jB//EUIs7Pc0t9yYKNSLdjSy7wuHh6jbpp/fA mRIhjyEKwIBBPgB9fWkjKgxENtkkGz/WukWtVKWx3JyvlmpqU6ckinW3fr+i+nsKv6FU Qu4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yJJBUcGx; 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 f21si8719400pgb.371.2019.01.22.01.25.16; Tue, 22 Jan 2019 01:25:31 -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.org header.s=default header.b=yJJBUcGx; 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 S1727767AbfAVJX2 (ORCPT + 99 others); Tue, 22 Jan 2019 04:23:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:47300 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727509AbfAVJX0 (ORCPT ); Tue, 22 Jan 2019 04:23:26 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 40FBD218D9; Tue, 22 Jan 2019 09:23:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548149005; bh=pJe8XyLxKPkUajc+9M0rp/1UfMXdLKAiLqf5eVtJ1do=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=yJJBUcGxeRP8VcJuLBNkE3A/Qc7mCzfGP/ETh1uv+S9gyP8fS1gtivtPizLzMzijS 1n5CcAgC92zc3su5gY3cwWqQBFhQZzbeCVnfxUEGduy893js2ywVtm7fWTwtVULv4K wSdmveUrnHxJPf4clsBeKsgTQhkt0K5TL7VwefGQ= Date: Tue, 22 Jan 2019 10:23:01 +0100 From: Greg Kroah-Hartman To: Mathieu Malaterre Cc: Arnd Bergmann , linux-kernel@vger.kernel.org Subject: Re: [PATCH] nvram: annotate implicit fall through Message-ID: <20190122092301.GA23719@kroah.com> References: <20190114204415.22296-1-malat@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190114204415.22296-1-malat@debian.org> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 14, 2019 at 09:44:15PM +0100, Mathieu Malaterre wrote: > There is a plan to build the kernel with -Wimplicit-fallthrough and > this place in the code produced a warning (W=1). > > This commit remove the following warning: > > drivers/char/generic_nvram.c:83:3: warning: this statement may fall through [-Wimplicit-fallthrough=] > > Signed-off-by: Mathieu Malaterre > Acked-by: Gustavo A. R. Silva > --- > drivers/char/generic_nvram.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/char/generic_nvram.c b/drivers/char/generic_nvram.c > index ff5394f47587..53123c110f7b 100644 > --- a/drivers/char/generic_nvram.c > +++ b/drivers/char/generic_nvram.c > @@ -81,6 +81,7 @@ static int nvram_ioctl(struct file *file, unsigned int cmd, unsigned long arg) > #ifdef CONFIG_PPC_PMAC > case OBSOLETE_PMAC_NVRAM_GET_OFFSET: > printk(KERN_WARNING "nvram: Using obsolete PMAC_NVRAM_GET_OFFSET ioctl\n"); > + /* fall through */ > case IOC_NVRAM_GET_OFFSET: { > int part, offset; > This file is now gone from my tree, sorry. greg k-h