Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1892219rwn; Fri, 9 Sep 2022 05:48:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR7dyube3X9LT+HDvlajB3LK0GLbtJtEVw0f+2eW1tYj+YcM+oFxglgiKuLm9USfCy3Ts2rA X-Received: by 2002:a63:3115:0:b0:434:fe5b:adf with SMTP id x21-20020a633115000000b00434fe5b0adfmr10159139pgx.3.1662727735686; Fri, 09 Sep 2022 05:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662727735; cv=none; d=google.com; s=arc-20160816; b=hsMKDwkbfaH3SfxBz9VXYIjLYEAmLeAzTvTuVW30gSIj39IHTF9EQvHkKdNNAJC2Xc BWk0oPTVCzEbzE1jYAkXKb2TyJ5OJDDWusDX0bxTRGwI1PtStWj7YMdmnK75xgD/MLWF f4HYyUSSIgZG9WVA3CNp0LGC++qWjBmbbDPT0Sh0j3tlHUmTUVHVgT1jgsrhnWLjkvZc uLXoJjtzQFTNTOIPd8LQsIu3wQ5x1xdoQY5X9T+DLlawma8vdhdhBy5/ZJO/9X07ZU8+ YjCveyAaex71GJHgZvuwi9qVvtE4SPIARxypcMnP+Y9fOJTpqXqRmueFoZdmY0Bdft9i W3DQ== 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:date :message-id:subject:references:in-reply-to:cc:to:from; bh=e86vCeEzrwAe0pEhGNApizXjkc9pQjPsqsdgRh2nddg=; b=xai4guecGIn37kaGBF/Da7MtFbThWEEavQRhNV5YT+EzMa6INOJKKPR59TQ6BvMsXH FdBLjagHc/TZtb4zG3jcTKcZb77/Znut6xRU13IwzCs4ciJBQYwR2JtaH7hyzYiUVXD9 wzDs6IH6cyQwmcrG5ItM1BQDORfAOGAI/AVyVtJt+6t9D+76W+mHGB9gdW6yIMfYeR9C SsghTM6Ox+4fYZzTiCDtbDx4olZ+cVCeX5/bcwVnA4blqFAR5GoO8qm7yGFzbTiuZzOe OZNttKwPJZAzsX8AjlLnq2MhTZ+6T37TFq0EPA2NxBuK51zx306bt+rBC/wkXzsfuNcH 9HOQ== 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 m9-20020aa79009000000b0052adcf5e6dasi426534pfo.186.2022.09.09.05.48.43; Fri, 09 Sep 2022 05:48:55 -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 S230488AbiIIML1 (ORCPT + 99 others); Fri, 9 Sep 2022 08:11:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231221AbiIIMKg (ORCPT ); Fri, 9 Sep 2022 08:10:36 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AC11C2F95 for ; Fri, 9 Sep 2022 05:10:10 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4MPFDb1sZnz4xZV; Fri, 9 Sep 2022 22:10:07 +1000 (AEST) From: Michael Ellerman To: Nathan Chancellor , Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, kernel test robot , Christophe Leroy , Nicholas Piggin , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Nick Desaulniers , Arnd Bergmann , patches@lists.linux.dev, Tom Rix In-Reply-To: <20220831152014.3501664-1-nathan@kernel.org> References: <20220831152014.3501664-1-nathan@kernel.org> Subject: Re: [PATCH] powerpc/math_emu/efp: Include module.h Message-Id: <166272521027.2076816.11203146069625170939.b4-ty@ellerman.id.au> Date: Fri, 09 Sep 2022 22:06:50 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 On Wed, 31 Aug 2022 08:20:15 -0700, Nathan Chancellor wrote: > 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. > > [...] Applied to powerpc/next. [1/1] powerpc/math_emu/efp: Include module.h https://git.kernel.org/powerpc/c/cfe0d370e0788625ce0df3239aad07a2506c1796 cheers