From patchwork Wed Oct 19 08:31:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 5480 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp333272wrs; Wed, 19 Oct 2022 06:40:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7YJw9GpsNaU1CM+ZrxaHEP1Zoh/u6/cpF9kK+KsRvlKW0wj4yCbXdsOd58bsLkGsTKTKUz X-Received: by 2002:a05:6402:4302:b0:45d:c9b4:c007 with SMTP id m2-20020a056402430200b0045dc9b4c007mr7535594edc.328.1666186834338; Wed, 19 Oct 2022 06:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666186834; cv=none; d=google.com; s=arc-20160816; b=tfaUuZsXC/9bldTIqlK4IYkgHLpPjdrb6/VKweBjr/nAASv5RurszF1gNI0j2BN2Eg 25KhqacarkiGyyYfMY5aiYCOiDIGy9xw6e1mj/Gbk35hOnl4qj5pYdybi8txeSzK3H3M 8jOqfLoPveAuA9FlAdMWNoY4WC6gj7OrX2QAPRVLcWNdiSqKvfnIEUvkz/V6brN7gFdl EOowCby8xhkz6vg5vqYOxJ60xwoDIKfbbraQGdBhnjEMkcL5mFLLa6AEC24zZzWkRJvt 1yBqIW9CgVzZBLKs5LOR5IRsVOn0pWf6DE8BPDHzEu/oa2PoDpKR1r5EWR4hK2aIE98Z 9wjA== 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=XU0cTbTBxgfykn4gFrKLC8CE9htVS+zvKP9005PAVkvWE8OEkWI2yYAxX0J87T2vpy 5Po8g9wiAVMqOcxXa6OEStlbLFpbnF0Avq+cOFTgwPitcc1+sgYuTlRxqwb6m7jp0xaQ 4CYJd/adEPaHomSelUlHpZuioRoOCq6nvUfHLWHSO1lUobe/HF2FPooCnU+cXZuAKvAj cmBaFbqrrhtaqxPIk+MPYkACu8VfVB2enNtFqsgFAdSXRmjT4dkdZwX4utJKXehYD7pW DZshS7KkwoQyC9z+6UkLR8Qjbz9Fpr5Tss7DGil/Fz1xOxxPl+ZpNehSYVrIrjCJLqbs 6L8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="eg1/1pi4"; 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 y88-20020a50bb61000000b0045bdff8a884si13083049ede.268.2022.10.19.06.40.09; Wed, 19 Oct 2022 06:40:34 -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="eg1/1pi4"; 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 S231608AbiJSNe4 (ORCPT + 99 others); Wed, 19 Oct 2022 09:34:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232754AbiJSNeX (ORCPT ); Wed, 19 Oct 2022 09:34:23 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD5611C69DA; Wed, 19 Oct 2022 06:23:20 -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 47B52B8247A; Wed, 19 Oct 2022 09:05:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAE7AC433D6; Wed, 19 Oct 2022 09:05:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666170312; bh=sc+YbobDr/tEqzXPDL3b8fTi2QPNYaqR8xdhG6QRLxo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eg1/1pi4iprdSPa4j5lirmjGfV9ZRAN4/cmbHDqanrbQ5L4z20Pgi3y5OO7jYNkbH WB1QXt+h7sdKg2cGqLUNTFh9Y5xUTjfVwa34U8Rmw36Zci9AQdYKgnNFRQ4Hm6+VJp ZqaF1DovZbzLuGI+wInV6b3D2E3UjUPe1pwW4hfk= 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 6.0 608/862] powerpc/math_emu/efp: Include module.h Date: Wed, 19 Oct 2022 10:31:35 +0200 Message-Id: <20221019083316.800426492@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.4 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?1747123525862697719?= X-GMAIL-MSGID: =?utf-8?q?1747123525862697719?= 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