From patchwork Mon Oct 24 11:31:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 8947 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp435657wru; Mon, 24 Oct 2022 05:55:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6iJSBuKoDZOEZhkm8H9JS8Pq0pizeiXEddlK6UYY4KWMgiWFH78GMcRRHsBOnrr3AH+nmT X-Received: by 2002:a05:6402:42c7:b0:461:c375:86b8 with SMTP id i7-20020a05640242c700b00461c37586b8mr4850719edc.40.1666616105733; Mon, 24 Oct 2022 05:55:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666616105; cv=none; d=google.com; s=arc-20160816; b=U70YUei4XzCOr5FjxLC8hWjomiMwIKZlGdvgMOuTi7etoB7Sd9Bo2pXrph0GaALjPI aCDZLtdrVysFqC6MTPQ6t+q2PUKB1cfLCCRmscv6h8r8SMmQFV34aPfl+xL31dLZJdmG gmpl3UWvIPt/NpSqaBAHnRIxOnczXGWNAWptWrjVpFrh0cUI+HTjxvRTxDXAeo7y9jGS ryRw5gWYA9ELPuoOGcruhs0hbKLNCy7q7DUPoUbuHr6A5LgWVbZaLKyR6kxFjqJHMtkC gn4nozEIZeb6DiEDJ3bPRmKGvc8bgmC0/7fun3RgcaKZaCaVPCXWO1RrEHw+hFqMk7oy fZOg== 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=Iwk0Q6AW5z2tWT1rOoSDxoOQrmiRVYf8C4ikI+DXAq0=; b=BEUyf8XXJyL47YsfXSj1eONLxjCx9fkh7b39ZyjqBxWbZ1QdcIBlNfK9CIXIb+jdAB qqfakdYpj9vJnk83xF+ZpObLfRHJzIvjvdrSpYzP4AcVgGBC3enYOzLmTVZ7kszFNnxo oebWOAe2s+4TVbrIq7ConEvXGMq7xfL3GLEsKEiGMdIQwXxLSP+/h7yKsw3aQpid0sAA rHhHk3iKagAgFsbTPSh4DHUH9Gh0Jkh6Vop9z0Wjy4jGB2rWqXf+VLCt9UZ00o1zd1iG s0de133+dDXCEeb5CVFYVk5pgCmnQZstTD79cfNidR3jPN4XULHa9/yWT4FkjiCuEipV UdjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SayHFnRw; 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 q11-20020a056402248b00b0044e8fe826a0si25078707eda.156.2022.10.24.05.54.36; Mon, 24 Oct 2022 05:55:05 -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=SayHFnRw; 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 S234701AbiJXMxB (ORCPT + 99 others); Mon, 24 Oct 2022 08:53:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230319AbiJXMto (ORCPT ); Mon, 24 Oct 2022 08:49:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2A3755AA; Mon, 24 Oct 2022 05:13:35 -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 7190B612FC; Mon, 24 Oct 2022 12:12:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 835F0C433C1; Mon, 24 Oct 2022 12:12:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666613523; bh=9MwbfkNRjPJYllnZP1afGD7xpA8qeU7cGP2m/ldY7I8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SayHFnRw1TUWE3JG0L++sb1qma6XpZaWGOwJFff8UiFmvzwJU1DV8t1Uf/CPWc9P0 ZJRsiTChsPzZTGjpY0n/H2A4gW4HFkGQnR0qNVIwGu+oEK/S6GgmaRtuNXWU+UBIjI miKcKWV5yS8WAtppl//rFc7LqwncSOjH0vs7hbwI= 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.4 170/255] powerpc/math_emu/efp: Include module.h Date: Mon, 24 Oct 2022 13:31:20 +0200 Message-Id: <20221024113008.431017658@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113002.471093005@linuxfoundation.org> References: <20221024113002.471093005@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 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?1747573649602006749?= X-GMAIL-MSGID: =?utf-8?q?1747573649602006749?= 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 0a05e51964c1..90111c9e7521 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