Message ID | 20230516200432.554240-1-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp673664vqo; Tue, 16 May 2023 13:08:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4d1NiQScAg/Ld9MLiBFI+wMZ4RTMHhCCXdGfkNaHZ+yA3k2OvDzjYDqvu2AOZh4wwgUlJj X-Received: by 2002:a17:90a:cb93:b0:250:939f:70a0 with SMTP id a19-20020a17090acb9300b00250939f70a0mr28385897pju.14.1684267727886; Tue, 16 May 2023 13:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684267727; cv=none; d=google.com; s=arc-20160816; b=N4MSLWht3wHyvW56MUTKwhtyXHAkftf+RjTm07Fg7i5Saslymxai7RZEtd0A7Zwl0U O8H3eaZM8tQLr8sSmZcfx6V7bHaLQ/jbdlbyqckcExEAOPowGIXndMPy6wxwFi8WP20J jTTZ7ttTmPS5SmPfP+PaX26E15EUpEZWoID/HPdQKBOeb/5x2ytnzXTBPsVafKrauRr3 BjwGGbquuxIeM8m63FP51B6D7Rqpefob2d320ChyvvXK+r+RPAkxapNRJBOWwnG/riw8 jg5wJPWgzej1lHYoimuV/kZW9eY+VBhWravK/Ja/Okbi+XSJUljquwF3WWUdcMuL95eQ NnYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=eeJnIh/TwAtzif+yzZnVf8PjBYUUGDkiuAPKr+QtY0E=; b=fwXaITQ14BN+Gr6e7BB5RTb8r6wKXEyn8fr0Q/oedOo0vJByn9BottpuCQkfTfSA6k eUtE5gyZTSgU7ilfG+8JpWm4EJXLQYsbZDrcIFplssjtkgnvWoHp1xME8RAlGKmAzoEx gESq1LkrWcpF+6W9IE8gqI5djzhlKn4k6oHtm2CzRDUQ5KnpGkus4pX5eRdmLWv7LBgr 3sR0xk7xTJcupjYmpAub+kKYe8zGrEUfTt3JkwpwmB94Ox0gG0qHXRMDJaPdPRebeoGj HAOt7s43YxB/DhWUdQbshSROE2mgIj/bX9nXXQ+mciQKcwKopuFY/qGi9c0OtZpzlUVn f61w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="E/iymKCj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q10-20020a17090a2e0a00b0024e0254d807si160622pjd.143.2023.05.16.13.08.32; Tue, 16 May 2023 13:08:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="E/iymKCj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229648AbjEPUEm (ORCPT <rfc822;peekingduck44@gmail.com> + 99 others); Tue, 16 May 2023 16:04:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbjEPUEk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 16 May 2023 16:04:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58D206582 for <linux-kernel@vger.kernel.org>; Tue, 16 May 2023 13:04:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C3F5A63297 for <linux-kernel@vger.kernel.org>; Tue, 16 May 2023 20:04:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02352C433A0; Tue, 16 May 2023 20:04:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684267478; bh=rZ28KCD4ojWX4RAZAyET5Kd+odUNMgnk9dDmnsASVvY=; h=From:To:Cc:Subject:Date:From; b=E/iymKCjtgsV3gEVhH6XMd1xE4KndsZEq+KZShWqN1hmtCYVRAd6r97/995SIgNiw HojrALmG+uEtrRN7EU+oBveGl0+wkSEg1n0T8I6KAR1BuP53Vnd0U3hY3cj4pZJ8dv 6atN5IBwZr66uvG2ISc+vDKXU8aCPwW8lFh8OkeGVbJWb5OpOk6b/dKB3ECYyBNOwQ LeRSdOgKkpSGVUVOrpysTSIOJ478saz2xUQLB/F7CDtL5Lb1gYVh4jLcmyMqttfcJ+ moNVQSIkweldaYemjum1DPWDChpLECnr9QpY5RsSCLh8XmEA2uFHSTOgiwwt8N8I7A +jZxfd7snqU+A== From: Arnd Bergmann <arnd@kernel.org> To: Marc Zyngier <maz@kernel.org>, Thomas Gleixner <tglx@linutronix.de> Cc: Arnd Bergmann <arnd@arndb.de>, Johan Hovold <johan+linaro@kernel.org>, Xu Qiang <xuqiang36@huawei.com>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Jason Gunthorpe <jgg@ziepe.ca>, Juergen Gross <jgross@suse.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-kernel@vger.kernel.org Subject: [PATCH] irqdomain: include internals.h for function prototypes Date: Tue, 16 May 2023 22:04:28 +0200 Message-Id: <20230516200432.554240-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766082716777446138?= X-GMAIL-MSGID: =?utf-8?q?1766082716777446138?= |
Series |
irqdomain: include internals.h for function prototypes
|
|
Commit Message
Arnd Bergmann
May 16, 2023, 8:04 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de> irq_domain_debugfs_init() is defined in irqdomain.c, but the declaration is in a header that is not included here: kernel/irq/irqdomain.c:1965:13: error: no previous prototype for 'irq_domain_debugfs_init' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- kernel/irq/irqdomain.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index f34760a1e222..5bd01624e447 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -1915,6 +1915,8 @@ static void irq_domain_check_hierarchy(struct irq_domain *domain) #endif /* CONFIG_IRQ_DOMAIN_HIERARCHY */ #ifdef CONFIG_GENERIC_IRQ_DEBUGFS +#include "internals.h" + static struct dentry *domain_dir; static void