From: Stephen Boyd <sboyd@kernel.org>
To: Zong Li <zong.li@sifive.com>,
lee.jones@linaro.org, linux-clk@vger.kernel.org,
linux-riscv@lists.infradead.org, mturquette@baylibre.com,
palmer@dabbelt.com, paul.walmsley@sifive.com
Cc: Zong Li <zong.li@sifive.com>
Subject: Re: [PATCH v2 1/1] clk: sifive: Fix W=1 kernel build warning
Date: Wed, 05 Jan 2022 15:40:15 -0800 [thread overview]
Message-ID: <20220105234017.232FDC36AE9@smtp.kernel.org> (raw)
In-Reply-To: <7823666b57c105aee8323e6896f83f3ed249d9ee.1638957553.git.zong.li@sifive.com>
Quoting Zong Li (2021-12-08 02:06:18)
> This commit reverts commit 487dc7bb6a0c ("clk: sifive: fu540-prci:
> Declare static const variable 'prci_clk_fu540' where it's used").
> For fixing W=1 kernel build warning(s) about ‘prci_clk_fu540’ defined
> but not used [-Wunused-const-variable=], the problem is that the C file
> of fu540 and fu740 doesn't use these variables, but they includes the
> header files. We could refine the code by moving the definition of these
> variable into fu540 and fu740 implementation respectively, instead of
> common core code, then we could still separate the SoCs-dependent data
> in their own implementation.
>
> Signed-off-by: Zong Li <zong.li@sifive.com>
> ---
Any Fixes tag?
WARNING: multiple messages have this Message-ID (diff)
From: Stephen Boyd <sboyd@kernel.org>
To: Zong Li <zong.li@sifive.com>,
lee.jones@linaro.org, linux-clk@vger.kernel.org,
linux-riscv@lists.infradead.org, mturquette@baylibre.com,
palmer@dabbelt.com, paul.walmsley@sifive.com
Cc: Zong Li <zong.li@sifive.com>
Subject: Re: [PATCH v2 1/1] clk: sifive: Fix W=1 kernel build warning
Date: Wed, 05 Jan 2022 15:40:15 -0800 [thread overview]
Message-ID: <20220105234017.232FDC36AE9@smtp.kernel.org> (raw)
In-Reply-To: <7823666b57c105aee8323e6896f83f3ed249d9ee.1638957553.git.zong.li@sifive.com>
Quoting Zong Li (2021-12-08 02:06:18)
> This commit reverts commit 487dc7bb6a0c ("clk: sifive: fu540-prci:
> Declare static const variable 'prci_clk_fu540' where it's used").
> For fixing W=1 kernel build warning(s) about ‘prci_clk_fu540’ defined
> but not used [-Wunused-const-variable=], the problem is that the C file
> of fu540 and fu740 doesn't use these variables, but they includes the
> header files. We could refine the code by moving the definition of these
> variable into fu540 and fu740 implementation respectively, instead of
> common core code, then we could still separate the SoCs-dependent data
> in their own implementation.
>
> Signed-off-by: Zong Li <zong.li@sifive.com>
> ---
Any Fixes tag?
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2022-01-05 23:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-08 10:06 [PATCH v2 1/1] clk: sifive: Fix W=1 kernel build warning Zong Li
2021-12-08 10:06 ` Zong Li
2022-01-05 4:24 ` Zong Li
2022-01-05 4:24 ` Zong Li
2022-01-05 23:41 ` Stephen Boyd
2022-01-05 23:41 ` Stephen Boyd
2022-01-06 1:55 ` Zong Li
2022-01-06 1:55 ` Zong Li
2022-01-05 23:40 ` Stephen Boyd [this message]
2022-01-05 23:40 ` Stephen Boyd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220105234017.232FDC36AE9@smtp.kernel.org \
--to=sboyd@kernel.org \
--cc=lee.jones@linaro.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=mturquette@baylibre.com \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=zong.li@sifive.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.