Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3990108imu; Mon, 14 Jan 2019 12:47:21 -0800 (PST) X-Google-Smtp-Source: ALg8bN4xT77Zj7g5V4BfXL08/7K64v/Q4NEr4WGBjeIazD0ePdEqAJlmPykYsvy+JYURIFuStYYO X-Received: by 2002:a63:8d44:: with SMTP id z65mr370321pgd.57.1547498841440; Mon, 14 Jan 2019 12:47:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547498841; cv=none; d=google.com; s=arc-20160816; b=QT2Y9NtktwXU1FEoy339V+FTavhMPDrHJ85A1//06cUT47/KHx2dF7naitnogioh3r GhzhnECyWjzm8NcrIOPiU7kVevDfoxeiZ9NU7Ssn23FlLZkJEBiS7kq489cpshUXH3yY qyvd9pskNS6I5hGHYABDyr8k+a/4VVFmt8SGbczJlSUKXmWKIuz4B+gTclr2ENVnBWmH KWQKheNlcHHu7ifFOXwFP8VW67yCS3vLbMYLRbW8iyIeMTvEJpXP+4cJUsCqsjIeRCvn v82qAW0H+2ElRkoe0qyWxgGn1jf/i2ayjUNgcADPRikxiXlMsOLnWwTzAboSPHg1RGoP Oekw== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=xPuL55fac21Z7N87o3frwIS+ijIr9ZIcQXiNUZWwzZM=; b=HxKTn6fTUzoE5QDsISZiUiBP8hUOwJhqudMp7yShl8hhopVnWIH97fwPCY90pa5GuG onQhyzPNW7TucKlfSrp8dxKYJDyINPv45J+8vtA7CAypxhJHaVvfiI/S9U1r4ILR4eew GV6JPNfea7nGDZAnS3s45T8ggn2yriLGbSHowM4GsQdjlHc/RX0kqKo6fYB8tjqFaUjx JPJSdw+/nptFmrkR5R1lfZUuG15DSltn+qqnmGXAVqh+ApGd56w72P223YXU75aTWCE8 /p6OiyCGbmHHaCtYz+Mz5eENUNS9Lz3R0yaHzSVXv0nFBHrNJA1hj3fcgPXmMuJP6xVd EQaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=FFWU85iB; 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 r10si1161708pgg.143.2019.01.14.12.47.03; Mon, 14 Jan 2019 12:47:21 -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=fail header.i=@gmail.com header.s=20161025 header.b=FFWU85iB; 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 S1727131AbfANUoX (ORCPT + 99 others); Mon, 14 Jan 2019 15:44:23 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40960 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726796AbfANUoV (ORCPT ); Mon, 14 Jan 2019 15:44:21 -0500 Received: by mail-wr1-f68.google.com with SMTP id x10so446035wrs.8 for ; Mon, 14 Jan 2019 12:44:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xPuL55fac21Z7N87o3frwIS+ijIr9ZIcQXiNUZWwzZM=; b=FFWU85iBbTf3dHAi3Py7VGTsBtbsbTOg+H+S/lp20X9uiBoF6SEIODB8niDpGGDCJF CdMS5F800Ysg/LHNKX6kwm6kbRYeklRtJ19Qs93zHELeaD43HH/OZ4W+jqHmsGyjB2iH RPDYx9Ieyv14OCYUM6Xl7tTgTdy+6lywRswwLiwbFYT/8+CuXHHrfGgw8sNaUxYgCCY/ bz4e6L2f8TCVKMPr6QwXv4YL4NaFJ89zOlKDIQZUrHFt9ALMccz2DwuxVXUjPUGGyDRH 3TiLOvbE0K7OJpq17468PIGGBZpi46sqef3spV9lcbinH6JOCQQqOENAdHaQ5LZSUOU3 POFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=xPuL55fac21Z7N87o3frwIS+ijIr9ZIcQXiNUZWwzZM=; b=Xgwqpobi+SXBi7ayrVGm2/Pa/PoUL3QV8UojhWwp5wX1x6Ryx47/2yvB9nPKKIg+e1 ooq8nrbZqKPj+Z86syDmjw7UDcQpEz1ZHvKs/OdOVGkY8tWpLfoC2uu3rzmOUqdH3Cpe d92xCuCadZvqmUOyxfrGvsZxXFkj+iXUBbrw/Vh+enjotYdopn3FAEOlgscQuww7g5rO afdRtTJ84AUFGSWrHX1Di2vTxi2paRBRwnKd21FvJT/Uv9pANlfmY/utK3C1OTzdpH1Q A+XtBfI9XUiyAMBFbGoUmwGyfTvBzFPda2aH732y2mVJk5xJTZOmOv1jnZzYRyjxJsVh /HoA== X-Gm-Message-State: AJcUukct6cSP4FAu4hT/ctp4ZnUPMxPEP8Aj3x9oL1hRI+lQIdQ3dhcE TIqrpVvc6vfEH0rsJFjKlyc= X-Received: by 2002:a5d:50c5:: with SMTP id f5mr221433wrt.37.1547498659411; Mon, 14 Jan 2019 12:44:19 -0800 (PST) Received: from macbookpro.malat.net (bru31-1-78-225-224-134.fbx.proxad.net. [78.225.224.134]) by smtp.gmail.com with ESMTPSA id s1sm106893143wro.9.2019.01.14.12.44.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 12:44:18 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id AFECE11422AD; Mon, 14 Jan 2019 21:44:17 +0100 (CET) From: Mathieu Malaterre To: Arnd Bergmann Cc: Mathieu Malaterre , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: [PATCH] nvram: annotate implicit fall through Date: Mon, 14 Jan 2019 21:44:15 +0100 Message-Id: <20190114204415.22296-1-malat@debian.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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; -- 2.19.2