Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp134498pxb; Wed, 4 Nov 2020 17:08:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJvO0d/475n1vt8brGRdLSL6VpNq5jLBMRbrbQ/aSb4k6BVX2PzjLp2jDOe79B9/CS3j+D X-Received: by 2002:a05:6402:b6e:: with SMTP id cb14mr83992edb.308.1604538492289; Wed, 04 Nov 2020 17:08:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604538492; cv=none; d=google.com; s=arc-20160816; b=Tjg/v2s6aHBjGtgMrZ4tEmhX4xr0Io54rD/ZzUxYtt1IMSD80tx0C1bwHESxgH0Zgm PQsfO771OLv15TwRSNe1UpYryn/qQlulaO85td3joVi+lz5i6PgOnk+iKwZm2ZANY5aa i2kdHwcFEew19QnADxXrJGBACZ4WTSm4Kw/8LiBkwgj2zlpanjkWd4/OI2lK2t/N0idm EWALuKTPqMG3bISRFaHJo272tyalmM8E5peuHlurqCylSkpggVlzkwUfBz/vbHWDPONU i1EV1O2BDMJdQLAozyBJCWk1TedkVOTqUn3/GvyiK65+RVqV7bEQHe35ZRb6IQOrEr4e 2STA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:references:in-reply-to:cc:to:from:date :dkim-signature; bh=VDB788jIt/MtyJ2LXRG+mfwjHYYoeJ16Lgb+AoU4Ba0=; b=s6j0Uq2/FGmX+zcpNVXT6yoPgq1/Jp52k707QFZAp5pN9EHfJDEdQnrOOr2Gny5/3g cyQzfjn6/TRKMHwGiBCjwuLV8O05iGCoSmduhXmCHrZXHsN7yzboWQQNwsou1fynhEda ub4GuOLFpqVp8xew3W3blA1eOPIXOGXImiBje4/Ij981G1VhJZBDImwedRN1PTWwy81N vtkViZjshx5tdU5ty5KAiBaBRiaLUVgR+Cg53LjINXeRpkwY/8Htkjb/UOsdygPaBWtI 85RGiPewH6p4sJbPsbmrDnFebLIU1EfGNdxi0kQIZG1BYaeOXLl++hp6sIhjrczBX3lU 0lTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lHeZ8c8c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si51179edp.146.2020.11.04.17.07.50; Wed, 04 Nov 2020 17:08:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lHeZ8c8c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732413AbgKDUoQ (ORCPT + 99 others); Wed, 4 Nov 2020 15:44:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:59406 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732407AbgKDUoP (ORCPT ); Wed, 4 Nov 2020 15:44:15 -0500 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 A023720637; Wed, 4 Nov 2020 20:44:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604522655; bh=phWy8wFs8Ni447e7zJCWex9IyDOgystXGx2LhFrSuXU=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=lHeZ8c8cjP2z7YbzhkQIqjZ8QYW1DHL6slov+fl9jqJAdCYlRaVyk3IMNwk6ZkO7p 6keEOEh1f6QX1tZOVSZTvgGyYarp1jNC4vbTwp+2BvwRgpwd0ippvTgmS0XI74EEeQ pD1if11oi8sY09Zzx1+8q5qgBiSpqQ9EZ+vK8OCI= Date: Wed, 04 Nov 2020 20:44:03 +0000 From: Mark Brown To: Qiang Zhao , olteanv@gmail.com Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20201103020546.1822-1-qiang.zhao@nxp.com> References: <20201103020546.1822-1-qiang.zhao@nxp.com> Subject: Re: [Patch v2] spi: fsl-dspi: fix wrong pointer in suspend/resume Message-Id: <160452263225.7406.16957258089179572669.b4-ty@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 3 Nov 2020 10:05:46 +0800, Qiang Zhao wrote: > Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in > remove path"), this driver causes a "NULL pointer dereference" > in dspi_suspend/resume. > This is because since this commit, the drivers private data point to > "dspi" instead of "ctlr", the codes in suspend and resume func were > not modified correspondly. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: fsl-dspi: fix wrong pointer in suspend/resume commit: 9bd77a9ce31dd242fece27219d14fbee5068dd85 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