Message ID | 20230623071948.3254789-1-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp5592927vqr; Fri, 23 Jun 2023 00:28:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5KhnQ4H1aR3lxs+lJSVjP0OLx7JcquHZtVOHs8kwthLMEL7qqwilmeBPfkSpDWAXz0Q+FA X-Received: by 2002:a05:6830:1dad:b0:6b5:3b98:7924 with SMTP id z13-20020a0568301dad00b006b53b987924mr15772781oti.26.1687505329877; Fri, 23 Jun 2023 00:28:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687505329; cv=none; d=google.com; s=arc-20160816; b=TzGDMFH+lxfFAzHvsYW4iRfyZY568WEs1nRE8LWEqWKPrHiCe4GmEx2cqyBkqmO1T3 M9DuYMmN+sCSzGVh3eSXrBh99A0QpXYkCJ2NE7hswBPETLVn9UuSoVAobQmNtagKTEWh cfP+l3uUZZWWgte40DGi9XysavG43bvL5WNusQtnp85o1cu1jrDTA6SauJF+6v+UPn41 0VT/A5lmIDl6/FD4K9fln+gBlaMOoKac1U5jK9d8kVXD/vLfUTP2DQYxAqjvsMWXe77N 5PrHb+TRC0VGFI5JLsxrJdJMs2TX1t2nr05IYSJETkWbRQqotMLUwNs1szDF+T5qoFH8 s32A== 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:dkim-signature; bh=VSimAa6jV6SkuwzIm0k0sQB+xnILYDjRp+QrIyKW9Wg=; b=EJlHaZZpK8q2CzVJsbq4eiOTQao5f9+Lt1kVcYYw4z6GTNHU6PHxww9iX8N6qnuivK r3xQMW3sCO8rtQktCbocKgz1Wfr+eorYoUZiRdLkM0/0Bu9jDOlS1UfPn6r1QGu9iqLM bkNVDOz2JAayvhGxx3etWkNNfDqqZ4MxlzDjpt1vLEJzPZ1b2+LedlzZdoTNAQLwDVcQ jQyZ5+Xilqzs9HUR4PWXAVkOdPlNexANfemfVWxD5Ff9yE3Yo8luiygR4OQfHJJz7wUm sIc72BTlMhMlasZFENgV28H8h6LVhjaYu+28wDQ+r/voA0IXwrDWdhbu9CS01U7l3Ye6 Bn9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eIptzNpz; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l62-20020a639141000000b005533d6eb7cfsi4627861pge.477.2023.06.23.00.28.37; Fri, 23 Jun 2023 00:28:49 -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=@kernel.org header.s=k20201202 header.b=eIptzNpz; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231145AbjFWHUB (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Fri, 23 Jun 2023 03:20:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230151AbjFWHT6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 23 Jun 2023 03:19:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 206982134; Fri, 23 Jun 2023 00:19:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 575AB61985; Fri, 23 Jun 2023 07:19:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BF94C433C8; Fri, 23 Jun 2023 07:19:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687504795; bh=mRTvW/o0xmVdwrv39D1Fas9Eznwc5euBRtXh8CpBW0o=; h=From:To:Cc:Subject:Date:From; b=eIptzNpzAjuBrYBJgzYUHiNnP/v7uie4yD6pV7JQFjQqwmhlgC4/nhDdYUM02+8O9 3G7oa5knVtIplakMilPOwkiF3ZmEczXIM1gufU9nNrQ5t7jR6dIPagGytX2kAUrcHa yMhSS84S70R8a8Bv2L/UQaKJmS6Nd23kstz2sT6nS4vrLDRUlMU9/jH92gMwVO72xm K64bC+ABCK8JuKvtEUoOlcydNFLU90y0vKE6jl/1wwgAASOp0FXpRY/dtGyrp2AX85 Y7EMZ6BEe6K3d+Ay7Nzu4x2a39BxXZmV/Ev6VPqmul46ivLOoOMWNSQtfCMGPY7sSM gEWAaRgepjNBA== From: Arnd Bergmann <arnd@kernel.org> To: Daniel Lezcano <daniel.lezcano@linaro.org>, =?utf-8?q?Uwe_Kleine-K=C3=B6?= =?utf-8?q?nig?= <u.kleine-koenig@pengutronix.de> Cc: Arnd Bergmann <arnd@arndb.de>, Linux Kernel Functional Testing <lkft@linaro.org>, Abel Vesa <abelvesa@kernel.org>, Peng Fan <peng.fan@nxp.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: imx: Drop inclusion of unused header <soc/imx/timer.h> Date: Fri, 23 Jun 2023 09:19:19 +0200 Message-Id: <20230623071948.3254789-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769477588576437220?= X-GMAIL-MSGID: =?utf-8?q?1769477588576437220?= |
Series |
clk: imx: Drop inclusion of unused header <soc/imx/timer.h>
|
|
Commit Message
Arnd Bergmann
June 23, 2023, 7:19 a.m. UTC
From: Arnd Bergmann <arnd@arndb.de> After removing this header in the clocksource tree, the clk drivers no longer build: drivers/clk/imx/clk-imx1.c:13:10: fatal error: 'soc/imx/timer.h' file not found drivers/clk/imx/clk-imx27.c:11:10: fatal error: 'soc/imx/timer.h' file not found This patch was originally posted as part of a three-patch series, but only patches 1 and 3 got applied. Reported-by: Linux Kernel Functional Testing <lkft@linaro.org> Fixes: 9e9d7570485d7 ("clocksource/drivers/imx-gpt: Fold <soc/imx/timer.h> into its only user") Link: https://lore.kernel.org/all/20230328100531.879485-2-u.kleine-koenig@pengutronix.de/ Signed-off-by: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- I would suggest merging this through the clocksource tree as well, which now has the third patch. --- drivers/clk/imx/clk-imx1.c | 1 - drivers/clk/imx/clk-imx27.c | 1 - drivers/clk/imx/clk-imx31.c | 1 - drivers/clk/imx/clk-imx35.c | 1 - 4 files changed, 4 deletions(-)
Comments
> Subject: [PATCH] clk: imx: Drop inclusion of unused header > <soc/imx/timer.h> > > From: Arnd Bergmann <arnd@arndb.de> > > After removing this header in the clocksource tree, the clk drivers no longer > build: > > drivers/clk/imx/clk-imx1.c:13:10: fatal error: 'soc/imx/timer.h' file not found > drivers/clk/imx/clk-imx27.c:11:10: fatal error: 'soc/imx/timer.h' file not > found > > This patch was originally posted as part of a three-patch series, but only > patches 1 and 3 got applied. > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org> > Fixes: 9e9d7570485d7 ("clocksource/drivers/imx-gpt: Fold <soc/imx/timer.h> > into its only user") > Link: > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore. > kernel.org%2Fall%2F20230328100531.879485-2-u.kleine- > koenig%40pengutronix.de%2F&data=05%7C01%7Cpeng.fan%40nxp.com%7 > C0a6773bdefa4449eee7808db73ba4024%7C686ea1d3bc2b4c6fa92cd99c5c3 > 01635%7C0%7C0%7C638231016000018002%7CUnknown%7CTWFpbGZsb3d > 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0% > 3D%7C3000%7C%7C%7C&sdata=K5mxemLNLHcXR%2B5b1DwuZJH9X%2Fd% > 2BTaZSQ7tZ8x8BqTk%3D&reserved=0 > Signed-off-by: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Peng Fan <peng.fan@nxp.com>
On Fri, Jun 23, 2023 at 09:19:19AM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > After removing this header in the clocksource tree, the clk drivers no > longer build: > > drivers/clk/imx/clk-imx1.c:13:10: fatal error: 'soc/imx/timer.h' file not found > drivers/clk/imx/clk-imx27.c:11:10: fatal error: 'soc/imx/timer.h' file not found > > This patch was originally posted as part of a three-patch series, but only > patches 1 and 3 got applied. > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org> > Fixes: 9e9d7570485d7 ("clocksource/drivers/imx-gpt: Fold <soc/imx/timer.h> into its only user") > Link: https://lore.kernel.org/all/20230328100531.879485-2-u.kleine-koenig@pengutronix.de/ > Signed-off-by: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> > Signed-off-by: Arnd Bergmann <arnd@arndb.de> A bit strange that this patch has author=Arnd but still my S-o-b. Either it's "my" patch (then I'd like to have author=Uwe), or it's Arnd's then I'm not in the submission path and my S-o-b is misleading. The commit log of this patch is better as it mentions the fact that only a part of my series was applied and that the 0day bot was in the loop. So I suggest to make my Signed-off-by line a Co-developed-by one (and drop the quotes around my name). Best regards Uwe
Quoting Arnd Bergmann (2023-06-23 00:19:19) > From: Arnd Bergmann <arnd@arndb.de> > > After removing this header in the clocksource tree, the clk drivers no > longer build: > > drivers/clk/imx/clk-imx1.c:13:10: fatal error: 'soc/imx/timer.h' file not found > drivers/clk/imx/clk-imx27.c:11:10: fatal error: 'soc/imx/timer.h' file not found > > This patch was originally posted as part of a three-patch series, but only > patches 1 and 3 got applied. > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org> > Fixes: 9e9d7570485d7 ("clocksource/drivers/imx-gpt: Fold <soc/imx/timer.h> into its only user") > Link: https://lore.kernel.org/all/20230328100531.879485-2-u.kleine-koenig@pengutronix.de/ > Signed-off-by: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > --- Acked-by: Stephen Boyd <sboyd@kernel.org>
Hello, On Mon, Jun 26, 2023 at 04:44:00PM -0700, Stephen Boyd wrote: > Quoting Arnd Bergmann (2023-06-23 00:19:19) > > From: Arnd Bergmann <arnd@arndb.de> > > > > After removing this header in the clocksource tree, the clk drivers no > > longer build: > > > > drivers/clk/imx/clk-imx1.c:13:10: fatal error: 'soc/imx/timer.h' file not found > > drivers/clk/imx/clk-imx27.c:11:10: fatal error: 'soc/imx/timer.h' file not found > > > > This patch was originally posted as part of a three-patch series, but only > > patches 1 and 3 got applied. > > > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org> > > Fixes: 9e9d7570485d7 ("clocksource/drivers/imx-gpt: Fold <soc/imx/timer.h> into its only user") > > Link: https://lore.kernel.org/all/20230328100531.879485-2-u.kleine-koenig@pengutronix.de/ > > Signed-off-by: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > > --- > > Acked-by: Stephen Boyd <sboyd@kernel.org> Just for the record, the original patch is already in https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core as 011da162da2f915989a571b557867f7eea699000. Best regards Uwe
diff --git a/drivers/clk/imx/clk-imx1.c b/drivers/clk/imx/clk-imx1.c index 22fc7491ba008..f6ea7e5052d56 100644 --- a/drivers/clk/imx/clk-imx1.c +++ b/drivers/clk/imx/clk-imx1.c @@ -10,7 +10,6 @@ #include <linux/of.h> #include <linux/of_address.h> #include <dt-bindings/clock/imx1-clock.h> -#include <soc/imx/timer.h> #include <asm/irq.h> #include "clk.h" diff --git a/drivers/clk/imx/clk-imx27.c b/drivers/clk/imx/clk-imx27.c index 5d177125728df..99618ded09397 100644 --- a/drivers/clk/imx/clk-imx27.c +++ b/drivers/clk/imx/clk-imx27.c @@ -8,7 +8,6 @@ #include <linux/of_address.h> #include <dt-bindings/clock/imx27-clock.h> #include <soc/imx/revision.h> -#include <soc/imx/timer.h> #include <asm/irq.h> #include "clk.h" diff --git a/drivers/clk/imx/clk-imx31.c b/drivers/clk/imx/clk-imx31.c index c44e18c6f63f7..4c8d9ff0b2ad5 100644 --- a/drivers/clk/imx/clk-imx31.c +++ b/drivers/clk/imx/clk-imx31.c @@ -11,7 +11,6 @@ #include <linux/of.h> #include <linux/of_address.h> #include <soc/imx/revision.h> -#include <soc/imx/timer.h> #include <asm/irq.h> #include "clk.h" diff --git a/drivers/clk/imx/clk-imx35.c b/drivers/clk/imx/clk-imx35.c index 7dcbaea3fea35..3b6fdb4e0be78 100644 --- a/drivers/clk/imx/clk-imx35.c +++ b/drivers/clk/imx/clk-imx35.c @@ -10,7 +10,6 @@ #include <linux/of.h> #include <linux/err.h> #include <soc/imx/revision.h> -#include <soc/imx/timer.h> #include <asm/irq.h> #include "clk.h"