Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4553335imu; Tue, 15 Jan 2019 01:55:09 -0800 (PST) X-Google-Smtp-Source: ALg8bN6DUypQfOPdPYraARS6SCeIHp7VLEVvM0p440JWXHzPDc4mwX/iWu+O8M7SoZwOrrhqRceb X-Received: by 2002:a17:902:12b:: with SMTP id 40mr3203898plb.72.1547546109782; Tue, 15 Jan 2019 01:55:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547546109; cv=none; d=google.com; s=arc-20160816; b=eNT/vGMX2N8rFIcZ0L79LSgzD1HhSWliJn4gn29nBdjGhyfUxe51n/g0bynX1G2s2Y h2WlmusLPTZ4GQS/KI5sWWoHnfPGN6uMz7yMDVnh+jfNcNRu+VZsOcMZViCAmgqkOr2z cmuARJG1BgGihlIY5H/Khvql2121pbGkOA29JngL2DA8jGcCVMDES8PUUPrxOqeX6NjT hIQGy5OW+aVcd8jeLZGIRkaF6Ox+O32/RjdUIUlDaRvSXgTOIlvtsbWCCz4IKnPdKCbt fGjuPXq+2J4VJtS39crt1/+S7NFY7HccVwnvaPhmQIw5/Fj4rIrZGHOazV5D/cgzFBnT psBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date; bh=us3ZYUgeZSEGwiFg2v7C06H2okCkEbYR6KnY+L0d5to=; b=Kh9tH4M43CQ6bO5s8l3lCkZJUfTBF6H/FC878Bz7+SukfBYnOTBAyROukR593+ubIj g4q/KcdDmN7duYjE4zHjWPFeA+b/q66bXx9+jRRsxrhvX0rAXn4oLSNbCPd3RYMkIAGy i5iDlNjDH19Dv9eocNHxXCn8UyWHIEHbXIXH8N281EkiSpPIBHTsoaq8N9CqD/WYC0y0 CDHBqQG0xAprXoMWJ5C7DpBcMQ2nKaUZvvqVgaLQ0DUtQkaBBYxbknbpc44iMMg6Rtyp d4Z0IG7jro63sh0cmOw65yji9pc0Z1yxJfw22nStRL4rVHDUn4LnPb7W+KKl/bDIz9r9 T1wA== ARC-Authentication-Results: i=1; mx.google.com; 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 i6si2852042plt.290.2019.01.15.01.54.54; Tue, 15 Jan 2019 01:55:09 -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; 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 S1728746AbfAOJqg (ORCPT + 99 others); Tue, 15 Jan 2019 04:46:36 -0500 Received: from terminus.zytor.com ([198.137.202.136]:33565 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbfAOJqg (ORCPT ); Tue, 15 Jan 2019 04:46:36 -0500 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x0F9kVNk2461595 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 15 Jan 2019 01:46:31 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x0F9kUMW2461592; Tue, 15 Jan 2019 01:46:30 -0800 Date: Tue, 15 Jan 2019 01:46:30 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Mathieu Malaterre Message-ID: Cc: hpa@zytor.com, linux-kernel@vger.kernel.org, malat@debian.org, mingo@kernel.org, tglx@linutronix.de Reply-To: hpa@zytor.com, linux-kernel@vger.kernel.org, malat@debian.org, mingo@kernel.org, tglx@linutronix.de In-Reply-To: <20190114203633.18557-1-malat@debian.org> References: <20190114203633.18557-1-malat@debian.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] genirq: Correctly annotate implicit fall through Git-Commit-ID: 01cdfa912f1004c463586f52f1dfcbec1274b1f2 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 01cdfa912f1004c463586f52f1dfcbec1274b1f2 Gitweb: https://git.kernel.org/tip/01cdfa912f1004c463586f52f1dfcbec1274b1f2 Author: Mathieu Malaterre AuthorDate: Mon, 14 Jan 2019 21:36:33 +0100 Committer: Thomas Gleixner CommitDate: Tue, 15 Jan 2019 10:40:53 +0100 genirq: Correctly annotate implicit fall through There is a plan to build the kernel with -Wimplicit-fallthrough. The fallthrough in __handle_irq_event_percpu() has a fallthrough annotation which is followed by an additional comment and is not recognized by GCC. Separate the 'fall through' and the rest of the comment with a dash so the regular expression used by GCC matches. Signed-off-by: Mathieu Malaterre Signed-off-by: Thomas Gleixner Link: https://lkml.kernel.org/r/20190114203633.18557-1-malat@debian.org --- 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;