lkml.org 
[lkml]   [2022]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4.9 07/30] video: fbdev: simplefb: Check before clk_put() not needed
On Mon, Sep 26, 2022 at 12:29:26PM +0200, Pavel Machek wrote:
> Hi!
>
> > From: Yihao Han <hanyihao@vivo.com>
> >
> > [ Upstream commit 5491424d17bdeb7b7852a59367858251783f8398 ]
> >
> > clk_put() already checks the clk ptr using !clk and IS_ERR()
> > so there is no need to check it again before calling it.
>
> This does not really fix any bug, so I'd preffer not to have it in
> stable.
>

Now dropped, thanks.

greg k-h

\
 
 \ /
  Last update: 2022-09-26 19:06    [W:0.244 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site