From: Greg KH gregkh@linuxfoundation.org Sent: Wednesday, November 18, 2020 11:47 AM
On Wed, Nov 18, 2020 at 10:23:02AM +0000, Wiebe, Wladislav (Nokia - DE/Ulm) wrote:
commit 903c6bd937ca ("clk: Evict unregistered clks from parent caches") in v4.19.142 moves orphan_list to global section which is not used when CONFIG_DEBUG_FS is disabled.
Fixes: drivers/clk/clk.c:49:27: error: 'orphan_list' defined but not used [-Werror=unused-variable] static struct hlist_head *orphan_list[] = { ^~~~~~~~~~~
Fixes: 903c6bd937ca ("clk: Evict unregistered clks from parent caches")
Signed-off-by: Wladislav Wiebe wladislav.wiebe@nokia.com
drivers/clk/clk.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.
</formletter>
Thanks for the hint Greg, I will resend.
- Wladislav