Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp260415rdh; Thu, 23 Nov 2023 03:22:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFAnRgqXWYZBola2buZKwZ36+Dw+3cDUxX10bD0czdrKzIy2F3w4KLVir526PZ08tclSAmB X-Received: by 2002:a05:6a20:918f:b0:18b:8dfa:8895 with SMTP id v15-20020a056a20918f00b0018b8dfa8895mr2222084pzd.17.1700738576596; Thu, 23 Nov 2023 03:22:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700738576; cv=none; d=google.com; s=arc-20160816; b=x/lhf2pZ2WyKBiSZPa3OJm6tffDqgUiuUql5ghf/V7nZP9MSHLkQl6wpnkZp3UGbxO htT9ng3WC2rlYLvwDwzr3yWUMt3TCuJMq2JumjyPZYJ77+z9cwcmFgWzjvLmE2gXLyn+ L+R6WGvySHL/FKGnljj7ECZ9mG1Oiti9bLAhsR2maj7an5XOHnytlApVFPpFqfLNCDEx 2+yMtrDcQ6iZXG7vey41ejcJRvzUUKrj+8ndF1ak03AwBawdls5/KvWOtwzqlnyCsKeX jhv2yXP6V0eNy7JBq0W753yaWkQO2RM1jYSG2Ebxq6iDZyFf7Z7a8T8eT7S5IgS2CrDW os8g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lEsEkZZuC7Ds7RLUFOkhoYzYrE8toOOVBpcpXvXWdcY=; fh=TVF/ZsHt3bxRzFOIn6fcgDTEV6FaGOs0DFr4KT/S8uU=; b=g36DqVXDnk2UMEgsSosPMryOKdMVrMjP4AxcWfJUYwdG26GvAx0i1plNGKfbfo1+8g lG90jD8Bywkt2YSbRdbw2x4PWs2VV6ZteNa+xSt+yzn6i4/PbytWuk/kYMrwfIIDdlHb FzrVNPaGyDoUT95FLB0NxI2OsTU1MIe/wKhqn2Go6n1UncCmlBwcBsv0ZAU85ejNizdP IMPbLTpUl7LKPYWIDrOkcez2yugvdVQKjifDNu52mpVEmHPeZsGQr/DGMkYxrlrWhqr7 8uOWftmRGlb6u/Rz7GSgnOf15JhJimlb4c1DGxWthmZCt8t44w8lbEy7Gr+pBIUHvyxc Uqgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PspJpNl8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id l27-20020a63ba5b000000b005c219456791si1138604pgu.322.2023.11.23.03.22.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 03:22:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PspJpNl8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0C27D8256238; Thu, 23 Nov 2023 03:22:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344964AbjKWLWk (ORCPT + 99 others); Thu, 23 Nov 2023 06:22:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345019AbjKWLFn (ORCPT ); Thu, 23 Nov 2023 06:05:43 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E668D71 for ; Thu, 23 Nov 2023 03:05:48 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCDFCC433CD; Thu, 23 Nov 2023 11:05:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700737548; bh=e+QnAKFOR6wNf8AU7caaDk1G44zPUvTIPn9eqgvKtVI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PspJpNl8eiPdZ9teU9sgGRq0899Z4qRquTRTMB3ArIInHB3Up/Nd1jNAK52qGJfw6 VwcSqNBj6wKq0fD5yXgSW27a59XD7QLOvPbuIspPpPRBkcfND/tpUKYcFGCF7v8Zsa dgDyTwQGndIV8yWAWF26tuIPGfQKRXj1NO3DcnqV310BwDabCzlQwn1lCiuBVbFjHA Z86z4PLYiZf9MHHOZgmqB8KbDB4rO/oWM3+PqBPki4n8eLgoRQ6LCVS7VPSNlti2tC 3KF5z4FbFLm2GWjTZYrI/5XmCiH2J5bKlvwiwgrOPc4LVeIRCaHUi1/MBiIDKhPy5d Oiwg9eBSopTGQ== From: Arnd Bergmann To: Andrew Morton Cc: Arnd Bergmann , "David S. Miller" , David Woodhouse , Dinh Nguyen , Greg Kroah-Hartman , Ivan Kokshaysky , John Paul Adrian Glaubitz , Michael Ellerman , Masahiro Yamada , Matt Turner , Nathan Chancellor , Nicolas Schier , Peter Zijlstra , Rich Felker , Richard Henderson , Richard Weinberger , Stephen Rothwell , Thomas Bogendoerfer , Tudor Ambarus , Yoshinori Sato , linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-mtd@lists.infradead.org, linux-sh@vger.kernel.org, linux-usb@vger.kernel.org, sparclinux@vger.kernel.org, x86@kernel.org Subject: [PATCH v3 4/6] x86: sta2x11: include header for sta2x11_get_instance() prototype Date: Thu, 23 Nov 2023 12:05:04 +0100 Message-Id: <20231123110506.707903-5-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231123110506.707903-1-arnd@kernel.org> References: <20231123110506.707903-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 23 Nov 2023 03:22:54 -0800 (PST) From: Arnd Bergmann sta2x11_get_instance() is a global function declared in asm/sta2x11.h, but this header is not included before the definition, causing a warning: arch/x86/pci/sta2x11-fixup.c:95:26: error: no previous prototype for 'sta2x11_get_instance' [-Werror=missing-prototypes] Add the missing #include. Fixes: 83125a3a189e ("x86, platform: Initial support for sta2x11 I/O hub") Signed-off-by: Arnd Bergmann --- arch/x86/pci/sta2x11-fixup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/pci/sta2x11-fixup.c b/arch/x86/pci/sta2x11-fixup.c index 7368afc03998..8c8ddc4dcc08 100644 --- a/arch/x86/pci/sta2x11-fixup.c +++ b/arch/x86/pci/sta2x11-fixup.c @@ -14,6 +14,7 @@ #include #include #include +#include #define STA2X11_SWIOTLB_SIZE (4*1024*1024) -- 2.39.2