Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6233113ybh; Wed, 7 Aug 2019 20:02:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVwjvZMobB/KF6Bucppv0pB6+ODDoXSnh9Vg9qRYEdJNay1Wxb/1ggTuoFMU/qY8A4Ch0l X-Received: by 2002:a17:902:a60d:: with SMTP id u13mr11459091plq.144.1565233369535; Wed, 07 Aug 2019 20:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565233369; cv=none; d=google.com; s=arc-20160816; b=PjXuZyiv32CjxfNlAFpTHMFbGSkS6ozN96c2QVQtKFbrOcE3uASSOvmyaCGleWsNCJ 4Vko8hubLDPIVhVoVgrUTQmlDZrM95emCM3IBjgEet1KhVW0hWLCpSu1oyHI7jwa++w6 REQaBUWo6mYBsH4Oj5TliQ5W/r2ifr/tXpJbJM5MR07FXwEGznoHg7uJYie3ujUP/7FD 6F/VsBs4N7ceZIRw2Ym5w88DYuSRxwWCz6ex/PgApgvh1AP1ntSJ7pIBIp2/SBJusKbV HFBoandWlwv/aR+TJO5t09EPKCAL8W1ZEXz0+sK1/nwHMWBeNmOZb/neI2zGSgAFBxb+ kl7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=w1RwkvHqtPdK7/AYAKy9lm1SQOT6wXcGzEyuBPgukXs=; b=YoUPAdgwbqJiHBjL7EpWQj9A0pfQtcwNi8ZEf5tVcx9IAjmvdmVPgAggt0WNgJD+dh 7Qa/omKhQrkjMdK+lfmZMjcOzXclzFrZjYjTkel1g27If+lvz12xIcW9hRethY7j4Yim MtLOH3KN6tTO3tfkErIR8di3g3QJygq0E9EGQ/IYDSalITCz2uRNvpIqFfQwo7SBYbEi Nedx4AbngsgBrlHf3kvVFlpf65xglxEyVC/oQHPSQU/Pb/1AvwZMWICIuiEb0XTFtSrD 8jMZlis4/Qh28hO64cg2Gco1xMtA5AZha+fkAaeb0+vUCT+U+pJeQSzhApkuBYh8/wQ2 HoFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=iZLEYn7q; 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 44si48096454plb.366.2019.08.07.20.02.33; Wed, 07 Aug 2019 20:02:49 -0700 (PDT) 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=@embeddedor.com header.s=default header.b=iZLEYn7q; 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 S2389581AbfHHDBu (ORCPT + 99 others); Wed, 7 Aug 2019 23:01:50 -0400 Received: from gateway20.websitewelcome.com ([192.185.68.24]:33056 "EHLO gateway20.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728059AbfHHDBt (ORCPT ); Wed, 7 Aug 2019 23:01:49 -0400 X-Greylist: delayed 1414 seconds by postgrey-1.27 at vger.kernel.org; Wed, 07 Aug 2019 23:01:49 EDT Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway20.websitewelcome.com (Postfix) with ESMTP id 408C2400C5B69 for ; Wed, 7 Aug 2019 20:34:17 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id vYJihZxjz2qH7vYJihaY80; Wed, 07 Aug 2019 21:38:14 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Type:MIME-Version:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=w1RwkvHqtPdK7/AYAKy9lm1SQOT6wXcGzEyuBPgukXs=; b=iZLEYn7q3mZHuiGswr40xVFFlS /arE8YYN5eZrF1eMoIs/gi8JC2gB43UC99ugzMRpjryYZToRvUih7YhjG2b77ThWVX5tWMQfRujle fl7bjJeiGimpDVaOebzmjpxAO8n+6QF8w0yzxu6l2arcFo1LQy2SPSvm9WRwlPNma7YWGzflAPSEP EkYcwRa7TDoXB1/gN3d+fqb3PU0TeSEgXerNHnaL4YRTKZPLTuLpWnHqWL3fPqoNSN3W9upwHx9B3 J9vGNU7VepvWZP0GT657zplqIGT8uowUy6SJgmEqBXFWIpkgADoWDnSIApbQdcepjzzlRxGd00H2p /3axGsSQ==; Received: from [187.192.11.120] (port=32960 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.92) (envelope-from ) id 1hvYJh-001Kkt-Cq; Wed, 07 Aug 2019 21:38:13 -0500 Date: Wed, 7 Aug 2019 21:38:11 -0500 From: "Gustavo A. R. Silva" To: Hartley Sweeten , Alexander Sverdlin , Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH] ARM: ep93xx: Mark expected switch fall-through Message-ID: <20190808023811.GA14001@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 187.192.11.120 X-Source-L: No X-Exim-ID: 1hvYJh-001Kkt-Cq X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [187.192.11.120]:32960 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 5 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mark switch cases where we are expecting to fall through. Fix the following warnings (Building: arm-ep93xx_defconfig arm): arch/arm/mach-ep93xx/crunch.c: In function 'crunch_do': arch/arm/mach-ep93xx/crunch.c:46:3: warning: this statement may fall through [-Wimplicit-fallthrough=] memset(crunch_state, 0, sizeof(*crunch_state)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-ep93xx/crunch.c:53:2: note: here case THREAD_NOTIFY_EXIT: ^~~~ Notice that, in this particular case, the code comment is modified in accordance with what GCC is expecting to find. Reported-by: kbuild test robot Signed-off-by: Gustavo A. R. Silva --- arch/arm/mach-ep93xx/crunch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-ep93xx/crunch.c b/arch/arm/mach-ep93xx/crunch.c index 1c9a4be8b503..1c05c5bf7e5c 100644 --- a/arch/arm/mach-ep93xx/crunch.c +++ b/arch/arm/mach-ep93xx/crunch.c @@ -49,6 +49,7 @@ static int crunch_do(struct notifier_block *self, unsigned long cmd, void *t) * FALLTHROUGH: Ensure we don't try to overwrite our newly * initialised state information on the first fault. */ + /* Fall through */ case THREAD_NOTIFY_EXIT: crunch_task_release(thread); -- 2.22.0