Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3980526imu; Mon, 14 Jan 2019 12:34:21 -0800 (PST) X-Google-Smtp-Source: ALg8bN5uF71hIKra+7/rIZfjGZy5kXOuTv/abU6Tj4b6YHMl4IAkU6B7sua62ljew+oj+izJAX8d X-Received: by 2002:a17:902:4124:: with SMTP id e33mr355399pld.236.1547498061374; Mon, 14 Jan 2019 12:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547498061; cv=none; d=google.com; s=arc-20160816; b=gbOJOZii6i6mCcpsLyY6rb7yroKdFnTG979r/0+EPtr3tyrCVwoi9SwsQ8/JoEEHJR s7y/c7O91oHrhbwIVGdJeIXFX4YYv1rjGtRi9MQRdUboKES53J8Rs3jeE/a0GWZHagbJ bpSfslehcjJ0Y+7JT8hglcIjdQFA6mnfu9l7zrBl1h9Vh0yMVpv4c71HmX0xPPDZpyK7 IAGf+yW6N39Y/gQ882aJUkshIBLfH45629FiNZ8Nu06jgjZyQqR6ccqhIpQJe+03EKOw PkZxvfqj26uVe9ZAmUSwynMFUP7QiMrjXGcwuEZD7IZ1tZBCA1zNfgyLeI3PZtszdQ9e s85g== 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=gNmW5T0YScBiyljYGBLZ2IYfjuq3k1z3ZZExTAp2Eyw=; b=JmomsmWOG0Ikq6+xzvXotRdqnsxQ+9p3jWDdsrgQXKmHIwhJHwRZcIViWeEVGbVPLd +4kfUSd4dhacsJbGatZW0838fzfOpG5uszIbOnH8de8YuMaqAWpW+/Lz9ZhXtxKpJXDv q3zQKKldf3cTSJ4v/IewZpqN2b7y/StBMEfOQ5xvgT86pkBOhgzj0M3NO04u9wAGJNCC +JGW0ZtMDGFT0Ln0fjHYZF6a609VqHOfgY2MXbqeXvaRqpOCg7T/En7iAnS9ATt1AORA QmXH+KjwGZBH9UI/yD5tYOezVJbj+GOD0i0wSmGhns6BWqyk3yeHBm/H49R2OQ45z+W6 ruFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="XTrU/v3h"; 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 z61si1163917plb.49.2019.01.14.12.34.05; Mon, 14 Jan 2019 12:34: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="XTrU/v3h"; 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 S1727063AbfANUcC (ORCPT + 99 others); Mon, 14 Jan 2019 15:32:02 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38346 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbfANUcC (ORCPT ); Mon, 14 Jan 2019 15:32:02 -0500 Received: by mail-wr1-f68.google.com with SMTP id v13so432859wrw.5 for ; Mon, 14 Jan 2019 12:32:01 -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=gNmW5T0YScBiyljYGBLZ2IYfjuq3k1z3ZZExTAp2Eyw=; b=XTrU/v3h8WGq0S6k6FMteivYBATMv8Om1MiBOoye19YAtuuwvmLm0ImpYPKZ/H61w1 j3Emp/FtTpFbxrhcT+YFdRRvcpVNNPsMM7BagLbpUwBYvldxqfn6gC6zc68t5f8o8o2v oXmfZyiLS/hVulPEBUL92pj7YLT86LjRURkkygvuavYSokndtS0AMb8YJ73USnU0xw84 ZleFpUD5GW9sfV58W85htQ4T1lnfZHkbNDBXmLZiD0W7eY8yrpZ5d7yF8unwhkr9yasH +8pq7ga4DDksaXb09UESFf0dSkTPB/CsRNyAxAAeI0eVO8s/Nl9my9zin2ezDBtccgeU Be1Q== 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=gNmW5T0YScBiyljYGBLZ2IYfjuq3k1z3ZZExTAp2Eyw=; b=tiBw7G1kUCOfT9p7sLQj/2V1h4mlAHWiIhdIsjRCU0G6Eg+2cTmsXHi7oeU3525Qcd s6/JCIxvp8a0ojI8AS/W+de/Ql1+r8NXF3/E/V5HZH3lnwuqiB8IX7Yc0HU0Q8NzAvgg 0JBL+zTX6kXCNpqSdRrQ5zqe335MWEEgOviNU/lZJHIWSAjlnOy4JcZhMPaFmnX9WlWV U63/6EB6AIgSMmLqlgZWAqZmpNDY5c03vkoWgmV5K/YoqRgH6hG8WanA28joe7rQBFnu w9xwhGse3EGCofj3SMcxnr26GD1ExXLg/JzpToK84xYz/N01xBbKXhRXXmT+u+N11Zzp eQ2Q== X-Gm-Message-State: AJcUukdKwhmDWON+sdeescdf0LDUHRfoIa3K/f0TPznn0SdKBoEEp1Vj +hjmSqV6fQo8utuAeF4sJw1gSErh X-Received: by 2002:adf:ed46:: with SMTP id u6mr212425wro.262.1547497920420; Mon, 14 Jan 2019 12:32:00 -0800 (PST) Received: from macbookpro.malat.net ([2a01:e34:ee1e:860:6f23:82e6:aa2d:bbd1]) by smtp.gmail.com with ESMTPSA id s16sm58021512wrt.77.2019.01.14.12.31.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 12:31:59 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 7CA8C11422AD; Mon, 14 Jan 2019 21:31:58 +0100 (CET) From: Mathieu Malaterre To: Thomas Gleixner Cc: Mathieu Malaterre , linux-kernel@vger.kernel.org Subject: [PATCH] genirq: annotate implicit fall through Date: Mon, 14 Jan 2019 21:31:54 +0100 Message-Id: <20190114203154.17125-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: kernel/irq/manage.c:725:3: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Mathieu Malaterre --- kernel/irq/manage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index a4888ce4667a..1ca39dc4538d 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -723,6 +723,7 @@ int __irq_set_trigger(struct irq_desc *desc, unsigned long flags) case IRQ_SET_MASK_OK_DONE: irqd_clear(&desc->irq_data, IRQD_TRIGGER_MASK); irqd_set(&desc->irq_data, flags); + /* fall through */ case IRQ_SET_MASK_OK_NOCOPY: flags = irqd_get_trigger_type(&desc->irq_data); -- 2.19.2