Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3983307imu; Mon, 14 Jan 2019 12:37:59 -0800 (PST) X-Google-Smtp-Source: ALg8bN5DgmWrTYOU9bEls9AwpphLJpt0BUJm5tp1dZuoi+DbapdnByNRq5fKx/TF9kdM++RyEzn7 X-Received: by 2002:a65:534b:: with SMTP id w11mr328656pgr.125.1547498279662; Mon, 14 Jan 2019 12:37:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547498279; cv=none; d=google.com; s=arc-20160816; b=FKWB4mewLtgc2Wu890XWQ9EbjyVWUyDGziND/0D1IvV6evB8agM6DuVaEKjLTw1Qcd OFnkW+Md1YtmyJBY6GlBdy0DjmdWYhKNzQ3bW8gx0rhHa4JAfJgYfU+Mdmeq0dFJBMHV UhLHjqTUesHTHJsJ9G3pxMkmdKuhV2G96//YwPWMRGomebCFhg2lJlA6pFrF2M39TNfY K/wf3r4we0NFpTiEq3bCU300Wak5WsEoHHM4qgZnDcqSaiKs1Ophv3HHsAw80vbB++ot 3vE5iYCsqeCWbjkmePICpR8lfswXdELsXpjo6VkuF3SX2kw6zdppzNAtPp/ARSXnZWh+ +Rqw== 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=rPRgNVGVdN1EoBLCSLIBiHJm22U/icg+/hPxnSvOnlE=; b=b405JGAva2uUHN3PG3WDEKYZKk8KZKY9Co8K16xDxcQLYtlGb9gxQYB1fD+H1vPOxk dlDfMniUVdj7cVa+AzMTmttNbp9Yc+a0HroKlzGSGvC3mT/OXPC6Fg+tmsI82t3JuwhC NKoxXcVSDPldMEy1tOGCJcc247C9Jp4IBBlRjrY/b4ehrji43tonUBt7eeImPu3ppHLC VzquiVUwFrzVk51X2HnQsEtp4jxbcHMdaPeve9GZ5Yvtp1VK4B4KGE2bF8hGULVjedz9 8TLbcaS945QZ9bnWCeAtH0v8J8lSkw3Dxv4zITIA0Jj6+Ru1S2mpw0rga/u+qA5mEay4 eRjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Rh+lmbYY; 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 b6si1254381pgg.2.2019.01.14.12.37.43; Mon, 14 Jan 2019 12:37:59 -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=Rh+lmbYY; 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 S1727053AbfANUgj (ORCPT + 99 others); Mon, 14 Jan 2019 15:36:39 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:50624 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726788AbfANUgj (ORCPT ); Mon, 14 Jan 2019 15:36:39 -0500 Received: by mail-wm1-f66.google.com with SMTP id n190so1058479wmd.0 for ; Mon, 14 Jan 2019 12:36:38 -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=rPRgNVGVdN1EoBLCSLIBiHJm22U/icg+/hPxnSvOnlE=; b=Rh+lmbYY8vTW5dG1RaQ+6jen7BJZBC/vb5n+pLdjoAnb65PamEiXWdTfMqReCOjeys gAvjEXGq5Ka+XCbyuakLrP+rI802dYkHiie7xaMUV3/f5wSdwD6mkkJFa3VMrFH/WR87 1ZOLTgIFnf7xR20gOddSormmnn3gGJlG+/FWPaDFswRCV0Y+LFUc0PZQNqpenUIn80hX 7uflaHvIs0LqvNuvYW9bnDISkfv0Qw3wiZaXst3v1VaRwAyIAb43+qbi10rkNkppc5hs ObjKg0+J7qfy6UIxunM6ZhLNpfZOyZZgbMXue4dBMqJnONofJfv8B4y3rMis9EdvU/Z/ tSVA== 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=rPRgNVGVdN1EoBLCSLIBiHJm22U/icg+/hPxnSvOnlE=; b=Ic1ID/XlUx9WYzDYEtiUrcBWhxD3hVooToMGRzScUe0hnH0n1jEvPm6Yvhv2gFp56w 9F6k4ODIx+DaeX3gnpN9dn8e7M5pN1mZK+L1XUCnBlbsYAhEZilrYGGjebAp8hZoy7dK 4R4NtFFIItncNldug6ixOx3gwn0/ZvxSNUy0DxoT3+ocr6b+mKHU9KlJ7zkW+0kFy3Pn uIdHba/RVpimpQSqA97S2PBjrhf88HqhgY5NRQV0hQKY64M7KcoS5GnJS9AoJDVnIpbA 2/DcBE+VxcECMEslFm7AKN7tunqPjrefCaG3ouaH2xtATM65hU4TC71MZPHhBu8VA2yP st5A== X-Gm-Message-State: AJcUukdUu1mS2KrtWwbf2seFD7vOW7WaQzPu9tS4uloK2GXIjSMXDUcb JncnS5nmVwAho1rk9GksshJ0L+8u X-Received: by 2002:a7b:c397:: with SMTP id s23mr625731wmj.127.1547498197494; Mon, 14 Jan 2019 12:36:37 -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 a187sm28067157wmf.33.2019.01.14.12.36.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 12:36:36 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id CA17E11422AD; Mon, 14 Jan 2019 21:36:35 +0100 (CET) From: Mathieu Malaterre To: Thomas Gleixner Cc: Mathieu Malaterre , linux-kernel@vger.kernel.org Subject: [PATCH] irq: annotate implicit fall through Date: Mon, 14 Jan 2019 21:36:33 +0100 Message-Id: <20190114203633.18557-1-malat@debian.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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). In this particular case add a ‘-’ so as to match the regular expression expected by GCC. This commit remove the following warning: kernel/irq/handle.c:167:4: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Mathieu Malaterre --- kernel/irq/handle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 38554bc35375..6df5ddfdb0f8 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c @@ -166,7 +166,7 @@ irqreturn_t __handle_irq_event_percpu(struct irq_desc *desc, unsigned int *flags __irq_wake_thread(desc, action); - /* Fall through to add to randomness */ + /* Fall through - to add to randomness */ case IRQ_HANDLED: *flags |= action->flags; break; -- 2.19.2