Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6756618rwi; Mon, 24 Oct 2022 05:51:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5DulF+8egrtrcidtDEhjOq2kxipXOqFdieSr8yHVtIjyCSM6ZV9ZOOxYYOwWTr4Mv4vfdn X-Received: by 2002:a17:906:2699:b0:781:a473:9791 with SMTP id t25-20020a170906269900b00781a4739791mr27634913ejc.644.1666615862265; Mon, 24 Oct 2022 05:51:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666615862; cv=none; d=google.com; s=arc-20160816; b=OLd2A14WklIs8RzAdUWcxgSzvJquevLDbE93e0nscjb9EteSiCGn/YqSlDGRkf0hJk HS6k9LlVxgKDvHdFL9XXRPVEL+iqeXTGcZgAPH4iBqc1OoYnDv7GNENKKo5gzbdGpLff qDzcGJqxWsAAfM5E2KiP3z32ua6ZdyPo02i7wghdzsd0bEpYTV3ZEjeERcoc0Tm5RdU+ 2eHqB9rQK2zgcc9EL4l/bg+qqgKGalMhGXAuqXP+E2/TW21lmIYR2lg7NsEqyYoXgH5J ppPF4d3jAVqokhJ1IyN4QlCbwMvarHOzpcC8MS6jP6lEpmKygC4/qRNube7NwMlSfHKJ sAsQ== 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=+gofdmkVWc1mrbU+lr1LvAr0n8i1COhujW2Mp619q04=; b=MScMfOm5gx2i90qg9N//EypnBXdVT5xGYW66ZKGCRTwMPJk0KMhEhZgUHthhM4+S8v fOAG0sDZQlxI2OSeDC8litV8ZNsVC6t6geAhfpnFeQk/I0s99HtKSmWH53vgLVTa7Mnw MWBz6pYCSaQXct6fM/7Az76BItOQ9FmZvDQlafbGp2Pjjg5MzML6O9Nz9rqIu181NJDj 9y32A3SvF8ldXMiIJY8PZyHrBrbZSRjH0+91rrT21LSolA2gpvFT4jCCjw7k3ZNR38Ps CVaAVxVyqPE3Y+G3o+kkswQJC+RfNOS1CN9TO11mJV3L37y85uQ9jyrsPPo7INSBP6oa 3/Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sciuVf8B; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm10-20020a05640222ca00b0046154884604si8023528edb.482.2022.10.24.05.50.34; Mon, 24 Oct 2022 05:51:02 -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=sciuVf8B; 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 S234121AbiJXMr6 (ORCPT + 99 others); Mon, 24 Oct 2022 08:47:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232090AbiJXMmy (ORCPT ); Mon, 24 Oct 2022 08:42:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 657237E80C; Mon, 24 Oct 2022 05:08:52 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 9DFFB6125D; Mon, 24 Oct 2022 11:51:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3AF4C433C1; Mon, 24 Oct 2022 11:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666612316; bh=erAD5uHFs99vtk9Q9Iu4F3CHrxzngC84yqaARqMsmBg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sciuVf8BEpSCfWQ4Eo69Ag+bt8mgCnrgyEtYa5xYP+ZARe/lnSB0s1LKBYijz37Uw qsnp6prVb6RgZJj8aA3Oa9nC4ArfTE6T0MZFfZUwqgx0s2Lu4H/3sHGGQotdWEEM2B qKS36GxDwgNfvd+il+kmICA59xysQxiSgxOMDBrY= 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 4.14 152/210] powerpc/math_emu/efp: Include module.h Date: Mon, 24 Oct 2022 13:31:09 +0200 Message-Id: <20221024113001.909695419@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024112956.797777597@linuxfoundation.org> References: <20221024112956.797777597@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 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 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 581f404caa1d..b9848179dbaa 100644 --- a/arch/powerpc/math-emu/math_efp.c +++ b/arch/powerpc/math-emu/math_efp.c @@ -21,6 +21,7 @@ #include #include +#include #include #include -- 2.35.1