RE: [PATCH] clk: move orphan_list back to DEBUG_FS section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
> 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@xxxxxxxxx>
> >
> > ---
> >  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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux