From patchwork Mon Oct 24 11:31:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 9646 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp533060wru; Mon, 24 Oct 2022 09:08:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4+KUyOS1Cs5CHAZ8LPwk8xJp9TmHP393WdGu+vZQ+GQtthQWLRsNym8CECcNSyGHks5pQp X-Received: by 2002:a05:6402:2756:b0:443:4a6d:f05a with SMTP id z22-20020a056402275600b004434a6df05amr31683336edd.396.1666627738302; Mon, 24 Oct 2022 09:08:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666627738; cv=none; d=google.com; s=arc-20160816; b=S+drOF13s7PLet3X478MGUu1HSyy+w4UNVXaDDi2/XsTfDKvTs2jesoJPCBJRdu9PU v4fl+1rox6AhYks9nnK0pbAJ9lQTJCJjKL56WKT0m7684d2ppAlXcN34i9qdZrmLnJS4 IgAOmUi6NqCnsve5uATNzy64UcKB7yhlQbXktP4zErpfFPid0TF1MojCtdfIZUFWK+mv lGLbhXziJ8QOv5dYmGuPK7H1M+dfTcj9M/+cCc/rvt6/qCuQHwmHOTS2a2dIXN1wlU6A GZj9VOxpZhWbi6JerrC2FNLpYDBvbM2bmbkTYDwmMiECckB4aK8nOCfNp90aC56dPLqG mZhg== 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=Iwk0Q6AW5z2tWT1rOoSDxoOQrmiRVYf8C4ikI+DXAq0=; b=RMJ82II4RBUN1Xhzna4yVN+wz5TTqpIdZtnMwSptc1AOV2O+vLtxZIIQkzKrlBgc9C iZ8CjUOB7jcGPBnKeIniB/0bzJzsv0OmHtfr77jeS2+QALXuVvIoQv4GOH5MT/Rz+vlU vXVaarq6AIq2aWU8TF1pJihsCqtnh/kuPuA6jsN7M6Tpw5OYumcFEULlreoujOi+XlfO is8BzxXK3Ce7mrKWQgN+zF3YKx2FLISOnpBtipSU8e0Bz9sDUUVGce5bjGH/A4huqiJD O1h61rSiENZFfuILliXBd1lNxlRJw9sRItxmR75bi6bID5/+RagtX6qg4mFTBKMWyJOM xXXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dYnMpljy; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd18-20020a1709069b9200b007836ec6999dsi117628ejc.904.2022.10.24.09.08.33; Mon, 24 Oct 2022 09:08:58 -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=dYnMpljy; 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 S233380AbiJXQHu (ORCPT + 99 others); Mon, 24 Oct 2022 12:07:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233209AbiJXQEV (ORCPT ); Mon, 24 Oct 2022 12:04:21 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA08C11878A; Mon, 24 Oct 2022 07:56:43 -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 ams.source.kernel.org (Postfix) with ESMTPS id 04DE3B81199; Mon, 24 Oct 2022 12:27:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64A85C433D6; Mon, 24 Oct 2022 12:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666614444; bh=9MwbfkNRjPJYllnZP1afGD7xpA8qeU7cGP2m/ldY7I8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dYnMpljytLcbSj7/xcTa4PDhCh7X7VSmZrG8v29bMi/yhRyDHVy5vYcetjAkFZ1OJ FW0xlT+9t/8lJBtm2SBy3Hqhic11zvhHa93d2KGOzn0oFQjnC6uhkPJdX+wyCiPyBC k+9iO0IWrR3OXkQPlKjBtVEXYNrCDRuogw3+o8Lc= 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 5.10 264/390] powerpc/math_emu/efp: Include module.h Date: Mon, 24 Oct 2022 13:31:01 +0200 Message-Id: <20221024113034.138478077@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113022.510008560@linuxfoundation.org> References: <20221024113022.510008560@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747585847124457633?= X-GMAIL-MSGID: =?utf-8?q?1747585847124457633?= 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 0a05e51964c1..90111c9e7521 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