lkml.org 
[lkml]   [2021]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH V3 1/3] driver core: Prevent warning when removing a device link from unregistered consumer
    On Sat, Jul 10, 2021 at 5:19 PM Greg Kroah-Hartman
    <gregkh@linuxfoundation.org> wrote:
    >
    > On Sat, Jul 10, 2021 at 01:38:17PM +0300, Adrian Hunter wrote:
    > > sysfs_remove_link() causes a warning if the parent directory does not
    > > exist. That can happen if the device link consumer has not been registered.
    > > So do not attempt sysfs_remove_link() in that case.
    > >
    > > Fixes: 287905e68dd29 ("driver core: Expose device link details in sysfs")
    > > Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
    > > ---
    > > drivers/base/core.c | 6 ++++--
    > > 1 file changed, 4 insertions(+), 2 deletions(-)
    >
    > No Cc: stable for this? Why not?

    AFAICS that would be

    Cc: 5.9+ <stable@vger.kernel.org> # 5.9+

    \
     
     \ /
      Last update: 2021-07-14 20:22    [W:3.077 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site