Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1885956rwn; Fri, 9 Sep 2022 05:42:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR6bAJ41wYjmppq0M+4x2ix/RqtZfLgLDu5JV4No2dMuiUo9snn1v10dADwG8qgKjY3RFouT X-Received: by 2002:a05:6512:32c9:b0:492:f53d:9c1 with SMTP id f9-20020a05651232c900b00492f53d09c1mr4289779lfg.127.1662727348618; Fri, 09 Sep 2022 05:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662727348; cv=none; d=google.com; s=arc-20160816; b=XgHQ+GdtNi5AaRq0uZoIlTI6mpSanGtj8Y8JoJzGJUf+Vjh/RIjudgLmVHSwYP6+ZX odEHjut8PRYc4fF7SsV0MahGkVdLQ1BrvOzzQ/Zx71t9efsUqfmek3PwluZWBwplVnOG 7wU66WEuBEeIj9pbLhCq+dVxEKGnygAb6LSzx87A9AIXEI9Ry7Z2tnDGUKQb1+sfanqa 8vYC7afUugm9P8zE5JPFt8DTyRlew++UzWCsrRKzBNNxL7G3xGuxtPkSv8d6ReM2/37t igq5/qHc+19gBVcCEie/34ZDOSXDtYk1YZEiDiD3ZP0Gb6rs5gGOk/AKTqyPDQFsgtZR mB+Q== 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=2o4SIWECqvQa8Lnrh6ij9quM9PePDZQW2ENlfgJ964E=; b=zn2smtkol4zMCViPSbY5Zs76d++yhcFznN82JECMzR6JMS9CVrqI1dDos1LS0Y0l03 WzLQjYQVE958+HpxkbrrabC9zVOtOAqLb46b6zG+cvUgdTFtmeoCzmtQcFj/u5jFkJO3 bXQxU6KvzCw37I1M7QyWIgCg74f7aI8025TNVwhGF5vWmX0a/L3giV2NNlweBfurBljS qcu5Guo/RZ5WAof7W1/cL2rT52XOsrE7lbcLTy8Wt+Z+m3mxgzQxsS1xOjmYuf5wjrFS swIJlN8zcQtMZGWNxcvzE0SQsR3sh45c3jXBrPoI/wY0irKR9DymMdrSxu5Ud82lnMaS /7Lw== 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 u7-20020a05651220c700b00498ee5f48e0si202834lfr.238.2022.09.09.05.41.57; Fri, 09 Sep 2022 05:42:28 -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 S231432AbiIIMLS (ORCPT + 99 others); Fri, 9 Sep 2022 08:11:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230342AbiIIMKg (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 3AD15100435; 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 4MPFDX2zd5z4xXy; Fri, 9 Sep 2022 22:10:04 +1000 (AEST) From: Michael Ellerman To: Christophe Leroy , Nicholas Piggin , linux-arch@vger.kernel.org, Michael Ellerman , Arnd Bergmann Cc: linuxppc-dev@lists.ozlabs.org, kernel test robot , linux-kernel@vger.kernel.org, Nathan Chancellor In-Reply-To: <8403854a4c187459b2f4da3537f51227b70b9223.1662134272.git.christophe.leroy@csgroup.eu> References: <8403854a4c187459b2f4da3537f51227b70b9223.1662134272.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH v2 1/2] powerpc/math_emu/efp: Include module.h Message-Id: <166272521909.2076816.16685747643958755021.b4-ty@ellerman.id.au> Date: Fri, 09 Sep 2022 22:06:59 +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 Fri, 2 Sep 2022 18:00:08 +0200, Christophe Leroy wrote: > 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. > > [...] Applied to powerpc/next. [1/2] powerpc/math_emu/efp: Include module.h https://git.kernel.org/powerpc/c/cfe0d370e0788625ce0df3239aad07a2506c1796 [2/2] powerpc/math-emu: Remove -w build flag and fix warnings https://git.kernel.org/powerpc/c/7245fc5bb7a966852d5bd7779d1f5855530b461a cheers