From patchwork Sat Oct 22 07:26:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 7695 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1109257wrr; Sat, 22 Oct 2022 01:47:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7VhMx0qZFY9hI549yJ601QA1K4HHnSfgRUBTU0cbqqAHeREFzJZAgfFBjpDUKD/p23dSi3 X-Received: by 2002:a17:907:2723:b0:78e:214b:e3c7 with SMTP id d3-20020a170907272300b0078e214be3c7mr19801595ejl.186.1666428465255; Sat, 22 Oct 2022 01:47:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666428465; cv=none; d=google.com; s=arc-20160816; b=qIjMpmXALB6XWXOtAMT+xzWxq9dCI//NSR/GPjaCqrz54O1hVzVOTfI+rhYw4OdlG0 4QJpar2/CoRtqzb8qvXUdxaeEoISOTCa0d6wk524WPglZCviXHBV72A52GrnCdalxDjO IsnLCoK1DtRNSka+gWMEydxPS8zI4yd5VAR1ENjLw+rtHCqpC0YEyd7QDL7FzBLxqD6s LJXDQu14Q4WDxW0MWTuvoOjjzWHvMgNbzlKYnYI+szeITmg2klqcfLrBHaG998GQbptD 4s+ONAtTr/g6nYTDSkLatO0gGiyS4ySCYwE7GoD7jlRaExIvg9DFQ1cry1Fzk0HlX36s gU5w== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=VdDAP0eGeDgP9t5fUtoe9++sIfX8aGNyvRDuNDvBtQ4=; b=OgIzc6D4QIOUXCIFKwNxlw1i4q27wvR5XCyeGPeAT2VXuDJBItJt5cB6GjsnVzFs47 SVyvekdwI97h2jhF4vEJZ9Vir62grRKJm7CXAPb2lB9BymUx2cq17Q9ANUxw7ygT4Gkm qNEqRQ+7zIZOFXWBikceipGql0PjDpQkIPvFNwb0QVfk4oobylDbnHO479LrVwb8M3j0 RIveVS+fJbuHamVG8B2/t60GZPUERccziCb0uzWtGov0od9BJYbNCmkn8G4MidP5qzKT ZZt/6vLNaHPnuUNUqBi6pGjzVKZ9lqzJc2CvmgJ28MinXXW7Fc5MkZywLXIsGx0W5FE4 D0SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kDBUX6Kj; 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=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go7-20020a1709070d8700b00792e39c31dcsi10355424ejc.988.2022.10.22.01.47.21; Sat, 22 Oct 2022 01:47:45 -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=@linuxfoundation.org header.s=korg header.b=kDBUX6Kj; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234220AbiJVIqo (ORCPT + 99 others); Sat, 22 Oct 2022 04:46:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235022AbiJVIoR (ORCPT ); Sat, 22 Oct 2022 04:44:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 695DCB878E; Sat, 22 Oct 2022 01:08:06 -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 ams.source.kernel.org (Postfix) with ESMTPS id D3533B82DF3; Sat, 22 Oct 2022 07:58:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 300B8C433D6; Sat, 22 Oct 2022 07:58:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666425509; bh=sc+YbobDr/tEqzXPDL3b8fTi2QPNYaqR8xdhG6QRLxo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kDBUX6Kj/hNx4G7EXAVgHBA535FL567yJOyLDIm5eQMr0OEt8nWQvtNr3xsd5gth7 E7iFgvzyL/uJmjM3A9p4JQVwQk0YAdcDJzG10nrZ1S7GueWRX+2PiIkizaAyaVjvKv HXs2BDdmK3e2VpvO0nj1Pmg9lN+5lMpobwtwC37A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Nathan Chancellor , Christophe Leroy , Michael Ellerman , Sasha Levin Subject: [PATCH 5.19 494/717] powerpc/math_emu/efp: Include module.h Date: Sat, 22 Oct 2022 09:26:13 +0200 Message-Id: <20221022072520.126748270@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.3 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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747376894808546624?= X-GMAIL-MSGID: =?utf-8?q?1747376894808546624?= From: Nathan Chancellor [ Upstream commit cfe0d370e0788625ce0df3239aad07a2506c1796 ] When building with a recent version of clang, there are a couple of errors around the call to module_init(): arch/powerpc/math-emu/math_efp.c:927:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] module_init(spe_mathemu_init); ^ int arch/powerpc/math-emu/math_efp.c:927:13: error: a parameter list without types is only allowed in a function definition module_init(spe_mathemu_init); ^ 2 errors generated. module_init() is a macro, which is not getting expanded because module.h is not included in this file. Add the include so that the macro can expand properly, clearing up the build failure. Fixes: ac6f120369ff ("powerpc/85xx: Workaroudn e500 CPU erratum A005") [chleroy: added fixes tag] Reported-by: kernel test robot Signed-off-by: Nathan Chancellor Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman Reviewed-by: Christophe Leroy Link: https://lore.kernel.org/r/8403854a4c187459b2f4da3537f51227b70b9223.1662134272.git.christophe.leroy@csgroup.eu Signed-off-by: Sasha Levin --- arch/powerpc/math-emu/math_efp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/math-emu/math_efp.c b/arch/powerpc/math-emu/math_efp.c index 39b84e7452e1..aa3bb8da1cb9 100644 --- a/arch/powerpc/math-emu/math_efp.c +++ b/arch/powerpc/math-emu/math_efp.c @@ -17,6 +17,7 @@ #include #include +#include #include #include