Received: by 2002:a05:6504:1d0:b0:1de:de76:8684 with SMTP id e16csp886827ltn; Fri, 2 Sep 2022 09:27:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR6TmebPSkOdwyPOTMxHgZZINqoPIsCK9KnfGyEYu+vdfpQrWOSJS4bwf6TFChIpjNuW1qhd X-Received: by 2002:a05:6402:1e8a:b0:43e:93ab:5ab8 with SMTP id f10-20020a0564021e8a00b0043e93ab5ab8mr33350680edf.211.1662136069812; Fri, 02 Sep 2022 09:27:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662136069; cv=none; d=google.com; s=arc-20160816; b=X49Uvu9zRzqceHeX13c6AgpkPrdXd8bZwq3T7FRe++VRQDremwcaYuwhZzP3iha3Hk uQ+7HJ4aIbpTMKzak9d7AaK2llH9s+gRI8LRmuZC3/YHJ5LDGrWZ2k4HfNYIq9aSILa+ oWvXsuQClBM6CENkBLgRtnPyi6iUisndmOoRRVXvG6zmKsMwRpiiNBerSTeVW7fYZhdM 0x34Tp0iD3l/NbPaOPjdN9UY1Z+822UdSi/7L5hR6UYalCqi7NrfTU6wYt95Y9pCVE7S 9unpVhrCYQAzQ5IzFDHBfaoXxLd8+35vYmzzcyK3R+V3vcCjT5zxZPt9S6amcNaC2OHv En6A== 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 :message-id:date:subject:cc:to:from; bh=N6R1tlqBCcbzukWK8yUIT26KDpamBIeztj3LgqpGUqo=; b=QVH41ty/Rxoa1k7DT6AHGQiu/hSxXwY6czaw3C07ssRf3fKvQT9v825BJNQh595Vxw WYvOvw3YMKdwfpl0uLSEidzZZvt0osVqcLWp6T/+Uzo4XKTbxwi9OMuoGc3kuYV9zzci K/SXGQxzUekMhlmWB1qsiB8QmefZlBITHMeMMcY3njdwfPIda8ZuQSKe4dZRT0ZCADXB 7KtIMtbrXXirVezwNxAOQGeHUWShlBy2PqjMKElkFHoZulub/sP/XI7iownuTOtfyh8u YiDSpLKSK32rd+iIVj5+wDFJKL9jOxEPVwyIaugVRIiNxP5BhrB0jRtLCWJ1yMCUfHyg xTmA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr12-20020a1709073f8c00b00730c9a41812si2220732ejc.723.2022.09.02.09.27.22; Fri, 02 Sep 2022 09:27:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236401AbiIBQJJ (ORCPT + 99 others); Fri, 2 Sep 2022 12:09:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236676AbiIBQIa (ORCPT ); Fri, 2 Sep 2022 12:08:30 -0400 Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92D7E5C371; Fri, 2 Sep 2022 09:02:06 -0700 (PDT) Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4MK2gg4ZZFz9snC; Fri, 2 Sep 2022 18:00:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MUIy-zOaIPw6; Fri, 2 Sep 2022 18:00:31 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4MK2gg3q9dz9sm9; Fri, 2 Sep 2022 18:00:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 5AA538B788; Fri, 2 Sep 2022 18:00:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id qvrKzFyidLhW; Fri, 2 Sep 2022 18:00:31 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (unknown [192.168.232.39]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 121068B787; Fri, 2 Sep 2022 18:00:31 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (localhost [127.0.0.1]) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.16.1) with ESMTPS id 282G0KcR2222673 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 2 Sep 2022 18:00:20 +0200 Received: (from chleroy@localhost) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.17.1/Submit) id 282G0JPg2222669; Fri, 2 Sep 2022 18:00:19 +0200 X-Authentication-Warning: PO20335.IDSI0.si.c-s.fr: chleroy set sender to christophe.leroy@csgroup.eu using -f From: Christophe Leroy To: Arnd Bergmann , linux-arch@vger.kernel.org, Michael Ellerman , Nicholas Piggin Cc: Christophe Leroy , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kernel test robot , Nathan Chancellor Subject: [PATCH v2 1/2] powerpc/math_emu/efp: Include module.h Date: Fri, 2 Sep 2022 18:00:08 +0200 Message-Id: <8403854a4c187459b2f4da3537f51227b70b9223.1662134272.git.christophe.leroy@csgroup.eu> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1662134391; l=1490; i=christophe.leroy@csgroup.eu; s=20211009; h=from:subject:message-id; bh=OKSJgYFuo/pdrg21F1+qHF8xOtYyQ469CIxgwgwXZmQ=; b=FMOOZ6cKULkqjKWE4gecv3etG4gXrdePUI9ZtYcccbtVZDgu+YkpuvpZSzmPnQjcD3gnzkzxgZtc cqsvhrvpAHKgxZQTY7rJZSOb1PSKdoMD4KVjdtF5TN0kwmRVZeLL X-Developer-Key: i=christophe.leroy@csgroup.eu; a=ed25519; pk=HIzTzUj91asvincQGOFx6+ZF5AoUuP9GdOtQChs7Mm0= Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Nathan Chancellor 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. Reported-by: kernel test robot Signed-off-by: Nathan Chancellor Reviewed-by: Christophe Leroy Fixes: ac6f120369ff ("powerpc/85xx: Workaroudn e500 CPU erratum A005") [chleroy: added fixes tag] Signed-off-by: Christophe Leroy --- 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 -- 2.37.1