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=-1.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 70F0CC47255 for ; Mon, 11 May 2020 17:22:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 463B720722 for ; Mon, 11 May 2020 17:22:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589217722; bh=6lsmrtwsjS337+6ZaMJ1uBpd2A8KX8OTri/jsmfkVsY=; h=Date:From:To:Cc:In-Reply-To:References:Subject:List-ID:From; b=w3ffFiuO90ji0d9Y0x6upJBsExQ7moN4K1bsXxFuJV2bioFyytgyjYWjNYhrROD/l 3NOH3w9UJxVGiUOtrID8eDNPugvVh1SF8sNt+KSNJuv2F0ucmWn6bOICQllnafEgVz 28WZ0vpfkhmSD6nJCxIJGRnaLXcPN2X6sRC9CQao= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730982AbgEKRWB (ORCPT ); Mon, 11 May 2020 13:22:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:39390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730966AbgEKRWB (ORCPT ); Mon, 11 May 2020 13:22:01 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3F68720714; Mon, 11 May 2020 17:22:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589217720; bh=6lsmrtwsjS337+6ZaMJ1uBpd2A8KX8OTri/jsmfkVsY=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=GqwA1+soX8/N+5KPE26D5ForS1gU5fJ9AlJ7l/J7WzCfy2kMAOpE0COf5LJRGwyiw GwgBXNebjLjld5GjFImJ9jhBF0UxIkYOJUD6gMhGPOaCrMg3QKcBgBUFciboD3fzA3 st/Aeh/ip4NQmPaLDrXd2xQT54fLfenVdii2fNSE= Date: Mon, 11 May 2020 18:21:58 +0100 From: Mark Brown To: Sanjay R Mehta , Wei Yongjun Cc: kernel-janitors@vger.kernel.org, linux-spi@vger.kernel.org, Hulk Robot In-Reply-To: <20200507115550.139457-1-weiyongjun1@huawei.com> References: <20200507115550.139457-1-weiyongjun1@huawei.com> Subject: Re: [PATCH -next] spi: spi-amd: Remove spi_master_put in amd_spi_remove() Message-Id: <158921769453.22432.2365518895564552869.b4-ty@kernel.org> Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org On Thu, 7 May 2020 11:55:50 +0000, Wei Yongjun wrote: > The call to spi_master_put() in amd_spi_remove() is redundant and > may causes user after free since the master have been freed by > spi_unregister_master(), so remove it. Applied to local tree spi/for-5.7 Thanks! [1/1] spi: spi-amd: Remove spi_master_put in amd_spi_remove() (no commit info) All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark