Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1750405rwe; Fri, 2 Sep 2022 03:15:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR5+XmqFu1sO5YBYVNQEpNu7LuC+vMTfYSz2bqVzxPhtxykYS2ap1+NH7fmbm+GsJq0KQQ0N X-Received: by 2002:a63:1c2:0:b0:430:710d:4c85 with SMTP id 185-20020a6301c2000000b00430710d4c85mr7036044pgb.12.1662113745662; Fri, 02 Sep 2022 03:15:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662113745; cv=none; d=google.com; s=arc-20160816; b=Sqlb2F/pGPUN+sCkGdW5xZwmWxn+bhJxWKnHPWmwHf43kD1G6mFUN5CvXXP4yiG/xK 1fmddCLnAQhmlrPA6O3CiaLY+dadfVPHzPCmilacN8BSHZJ//I5t2mp//6cEY7VKKJtR O1PJsokCIk/glFLEWlEU+e2i2L+1WXso1cc1DIJ6IOO1g1Dk6A7pH0o6ly5AGhL917y1 5AyVRpgN5KZcBt7EN559Ooh7VDYothBAJNXqqxEjZPAuegEqnPauaXBly/hhXGjIrs3l adH2zXuOEdUEpsW3dyKWj6WFJrWHCNaN0tIfbdSIvAxfPTwc/zYDKmC+g2Zi2yx+/uIB fheQ== 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=z9XImBzFeM9fm9NjbI18EOD3YsiIeXKlJ8+lXsftm87RUvvLOT9EH10z17Z61AhJOB irFTJNAlTeK+WkMe4ySiMQm1ADMqyYgnUkZpesPMTuWsVfkGgzlcLVXnEwKUBGXzvr8d OOJkdHoybwkTZ4ib5I/JrrovLdN/WBX1nFVT52Ca/NKvFPSxFKucjEJlvoRoXFqIVDvi OEIeJvTMxVvDTAswL6HZ8LQ0JUl/CCRp2bbGVQczH5lKRDH0Eter/gU/CdtQpZyRaSuK rTVBqXyctNolnRFwzct1g8k9sEIEIuJGvqAzBG6QHwYcXSOTN0/U7uzSF2N+u0SRvVR/ sx4Q== 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 h6-20020a170902f54600b0016cc0e4c7d1si1812985plf.43.2022.09.02.03.15.33; Fri, 02 Sep 2022 03:15: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; 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 S235617AbiIBKKj (ORCPT + 99 others); Fri, 2 Sep 2022 06:10:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236038AbiIBKJu (ORCPT ); Fri, 2 Sep 2022 06:09:50 -0400 Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF2DCD2B1C for ; Fri, 2 Sep 2022 03:09:18 -0700 (PDT) Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4MJttN1sPDz9sr2; Fri, 2 Sep 2022 12:09:16 +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 30zhPl1dC03C; Fri, 2 Sep 2022 12:09:16 +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 4MJttN1BsMz9sqv; Fri, 2 Sep 2022 12:09:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 19AD48B787; Fri, 2 Sep 2022 12:09:16 +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 Mg7xATy_cwAk; Fri, 2 Sep 2022 12:09:16 +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 D341D8B764; Fri, 2 Sep 2022 12:09:15 +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 282A92Pu2127995 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 2 Sep 2022 12:09:02 +0200 Received: (from chleroy@localhost) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.17.1/Submit) id 282A91T32127988; Fri, 2 Sep 2022 12:09:01 +0200 X-Authentication-Warning: PO20335.IDSI0.si.c-s.fr: chleroy set sender to christophe.leroy@csgroup.eu using -f From: Christophe Leroy To: 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 12:08:54 +0200 Message-Id: X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1662113333; l=1490; i=christophe.leroy@csgroup.eu; s=20211009; h=from:subject:message-id; bh=OKSJgYFuo/pdrg21F1+qHF8xOtYyQ469CIxgwgwXZmQ=; b=Qyvj+9CpSnOgj6jZkT3YwFF/BJTPtyyvREz7SWmBzT84iqegoeNRdnW+AE7hX8++nBau21DOjrMA dHFhyiDkCaBqMG0nIPdOg000bbZCaTAox84YR/fSYUz3VACS/ZIY 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