From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21C6BC433FE for ; Sun, 6 Dec 2020 09:47:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CB8A822D06 for ; Sun, 6 Dec 2020 09:47:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726044AbgLFJr3 (ORCPT ); Sun, 6 Dec 2020 04:47:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:38928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725943AbgLFJr2 (ORCPT ); Sun, 6 Dec 2020 04:47:28 -0500 Date: Sun, 6 Dec 2020 10:47:32 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1607248002; bh=9T/fIDQ5YSYC4t3Xz6OjD8bsBiV+ac/8FbFTYXnziEI=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=BzqlnzF+Nsm0paDZEDorEX2OeS9zA//PxJf/x+eE3fJSPrvLoxckqglBgFGvtMS+0 DZHhUZ+yLETAX/Gf9DshYPFfBIBwyJ3cIwNs9ow/kSJ+oxAOYjIPUwHc8hy3xA/Ygp BFoycnaJm7eKnvQ1U5xFRPd/pOs4ZtVgr+wYiLxg= From: Greg KH To: Lukas Wunner Cc: yangerkun , sashal@kernel.org, linux-kernel@vger.kernel.org, chenwenyong2@huawei.com, stable@vger.kernel.org, "zhangyi (F)" Subject: Re: Patch "spi: Fix controller unregister order" has been added to the 4.4-stable tree Message-ID: References: <20200616015646.AC54E2074D@mail.kernel.org> <8c7683cc-ca73-6883-8e45-613de68fa665@huawei.com> <20201205174207.GA4028@wunner.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201205174207.GA4028@wunner.de> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Sat, Dec 05, 2020 at 06:42:07PM +0100, Lukas Wunner wrote: > On Sat, Oct 10, 2020 at 04:41:09PM +0800, yangerkun wrote: > > ?? 2020/6/16 9:56, Sasha Levin ????: > > > This is a note to let you know that I've just added the patch titled > > > > > > spi: Fix controller unregister order > > > > > > to the 4.4-stable tree which can be found at: > [...] > > > --- a/drivers/spi/spi.c > > > +++ b/drivers/spi/spi.c > > > @@ -1922,11 +1922,12 @@ void spi_unregister_master(struct spi_master *master) > > > dev_err(&master->dev, "queue remove failed\n"); > > > } > > > + device_for_each_child(&master->dev, NULL, __unregister); > > > + > > > > This is a wrong patch. We should move this line before > > spi_destroy_queue, but we didn't. 4.9 stable exists this > > problem too. > > Hi Sasha, Hi Greg, > > below please find a patch for the 4.9-stable tree to fix the backporting > issue reported above. Now applied, thanks. greg k-h