From patchwork Mon Oct 24 11:31:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 8526 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp405936wru; Mon, 24 Oct 2022 04:58:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7UUupb2myBm/MVyW0fBqRufrt4k9eTMgpl2JM3X5BEU8vgVziteBtnb32iiWvTPpNkbDv0 X-Received: by 2002:a17:902:c189:b0:186:88bd:42c4 with SMTP id d9-20020a170902c18900b0018688bd42c4mr12765305pld.0.1666612680424; Mon, 24 Oct 2022 04:58:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666612680; cv=none; d=google.com; s=arc-20160816; b=oTior2Q7ratEEmLsQBPR+foxpXNY+tVxthiu6xhtpwtfGtvDP7Z3VxmSkkdhNDbEQq +MpzW2rAHKoV3Ntb1RWxRNAymCHZ4G26SXSV+cOTNmOGnqQqkTuWpeJgW4tF6PISE+Tk TJZBuX40jeED+uZRBdg3C8cRGY4E5Lll6Tkp4qnALKG8e6/5PpqakWruGFkukRRUMRBP kyIthCwY4MJtAOtJrrq9hHuy0ZvA1cozev0nlh9BMn04LSFQ3TIk7HUY4mHdKLetqRcc NJP5fCNYF+91UllUbrUdWal967uzpCH7d2q0A1LjIeHapq+/ESjrEqVqyXCzY3nxJ1u3 WoOQ== 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=YNu25u7q2VhL1zx8mWgF8l8MsjKRozPPznHk+McWQ7g=; b=U2vHzt5lSlug7c+1onCMReSAF0CeyWHLwv46dreGglRimU07sgIwdbS6VIE8qYBHDX 8LsBQDKg25b7ZZbW91bpxLtNa4tA21tUWPa0kO7NeXOOmXLlnQQeSyuLAmomjRzp7gqx scIP4cm6Ocv9fc346t7bt9K2nDURtk6hgrr2TVlrs/dlSjtvbgeN0RS0uX1RD7QEM2cD URK5FtkObqmlOPQEgbXQBfajzh/4YI1DOcXO7rBCj9gAGJ+cpZ/2iLHqp1rlpfoo0QhQ B1dwCA38p83tmGvVU/l8/ZsJuNEMGgNl++bkml+iZB75Gl1RIhKPFpM4j3zK86LimW/S Plvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=A68s4C+p; 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 nm2-20020a17090b19c200b0020d3631f006si9025311pjb.161.2022.10.24.04.57.47; Mon, 24 Oct 2022 04:58:00 -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=A68s4C+p; 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 S232349AbiJXL5V (ORCPT + 99 others); Mon, 24 Oct 2022 07:57:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232186AbiJXLzr (ORCPT ); Mon, 24 Oct 2022 07:55:47 -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 A16A07AC09; Mon, 24 Oct 2022 04:46: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 A768161297; Mon, 24 Oct 2022 11:44:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAE68C433D6; Mon, 24 Oct 2022 11:44:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666611886; bh=bY8DNX8UOorDhqSkPBTMfcJA4H/jHKBSD5u9N8pqcX4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A68s4C+pHNVSTVf+hdfYonDyoea+og+D+PKuA15Mq89hm1l65KYurZvudGCrJE0Ez oUz5ITF+lA4cLHVXcj+4RFwvEvo9UWny/LStBdyq+X5vCOBVhewiHVdd666p5mjyLL ZcGa71DiLfdZIoV8bol5s39Pr/25nxto8BC6BRBQ= 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 4.9 118/159] powerpc/math_emu/efp: Include module.h Date: Mon, 24 Oct 2022 13:31:12 +0200 Message-Id: <20221024112953.804929755@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024112949.358278806@linuxfoundation.org> References: <20221024112949.358278806@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?1747570058235753737?= X-GMAIL-MSGID: =?utf-8?q?1747570058235753737?= 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 28337c9709ae..cc4bbc4f8169 100644 --- a/arch/powerpc/math-emu/math_efp.c +++ b/arch/powerpc/math-emu/math_efp.c @@ -21,6 +21,7 @@ #include #include +#include #include #include