Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1016707imm; Wed, 19 Sep 2018 10:32:56 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYE4GgvyylyFl4adsszWgTFBG2WQk0UtX+wOug8DNMW3vGInAljgFTVqu+K5mNAG6QPFkTA X-Received: by 2002:a63:9809:: with SMTP id q9-v6mr32816330pgd.58.1537378376735; Wed, 19 Sep 2018 10:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537378376; cv=none; d=google.com; s=arc-20160816; b=vPc+lWT/AVMluqvRkYTRlhhqKyN9hgqBYgSbhMogJOz07J2rZtJeutLYNvTmqavqZl doyCxjqkE2sXxZwOHGb0w75i670VzPuGxkIwm3D/Fz9JJyXOt4GW7gPTlZ/Jx+xN+6yg 8EO4Whn1CNcekGMextScbSy1ASxzf0GqGA5TS4u7o3srlqGBh1uN5CRIf/JPbDghpX90 /K0X+wvjFOL95cJCAJvzqdYmYA++Vr4KED0zoCJuMzhSyGal1m7IfdglA8cOM05b3DbU QH/JIJgG1z8nkBdA4ilpXxJvZuamwnCx8FP+q0SaxZRlC4p6MSA7Y2bZvDIMRv/s7fhr E24w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Hi6LLiMcF9pUjhikPT2pyl0yNg44KM9+9pmQho0S2W0=; b=DcNpZZfoJQMyosopkGKhcMAnavbZe4zPDJ7OBFKGqjgjnO0FbR5kp4fwVVjmZxjM/c Mryl46dF5RZXWf2bxqjUtLjxLXLeKtMZcMj6VX+aXpd3yB2HaM3tTo/GEPWk+Xpl4uJ5 p6PGcJ9pAxMjJHVM0GUnq0PKiTsLj65CCNB/nm1Qrx5NKVqbMdPO4J1/f9TGfmcSYBp8 QeyUsjYDy8o5So+TxLOMji7qOOrhauHUq7JShxM3LEFDpg/2Ef3QNmr/2DUjE8jolph8 2e/Hfn7zK5JtpztXRYT+BMqH2ZYoDtIdvhRbIBrjBe2z96TwWCwko6jhgFUC4rzgYfOt OOQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=COwIlvRh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y20-v6si20742834plr.110.2018.09.19.10.32.41; Wed, 19 Sep 2018 10:32:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=COwIlvRh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733030AbeISXK7 (ORCPT + 99 others); Wed, 19 Sep 2018 19:10:59 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:55096 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731866AbeISXK7 (ORCPT ); Wed, 19 Sep 2018 19:10:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Hi6LLiMcF9pUjhikPT2pyl0yNg44KM9+9pmQho0S2W0=; b=COwIlvRhuKfiaIVli7CwcMKAW in64qffsKZCi2gyBeXANhDXoev77BGCHnJwPLERLB9ySNTG4MiRDYM7tp7Rifm3OBUX68khxMPQNk yh5UHMDsHYsNpiHI6MKRO34w5gN7vEAA6IH1tpczk8QapGvnDC7aeoACwiZ2vMngaDBhU=; Received: from [209.121.128.187] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1g2gKW-0004kx-IB; Wed, 19 Sep 2018 17:32:00 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 27697440078; Wed, 19 Sep 2018 18:31:58 +0100 (BST) Date: Wed, 19 Sep 2018 10:31:57 -0700 From: Mark Brown To: Peter Shih Cc: Matthias Brugger , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH v3] spi: mediatek: Don't modify spi_transfer when transfer. Message-ID: <20180919173157.GD2471@sirena.org.uk> References: <20180918161504.GM2471@sirena.org.uk> <20180919062928.238917-1-pihsun@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="U1t7w//IUm8YcF8e" Content-Disposition: inline In-Reply-To: <20180919062928.238917-1-pihsun@chromium.org> X-Cookie: Universe, n.: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --U1t7w//IUm8YcF8e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 19, 2018 at 02:29:27PM +0800, Peter Shih wrote: > Mediatek SPI driver modifies some fields (tx_buf, rx_buf, len, tx_dma, > rx_dma) of the spi_transfer* passed in when doing transfer_one and in > interrupt handler. This is somewhat unexpected, and there are some Please do not submit new versions of already applied patches, please submit incremental updates to the existing code. Modifying existing commits creates problems for other users building on top of those commits so it's best practice to only change pubished git commits if absolutely essential. --U1t7w//IUm8YcF8e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAluiiA0ACgkQJNaLcl1U h9AEEgf/c9FGN+vhT4tkkoUG3IEtBQICO2atvwYxL9kWS06z6CkM3JjI7Ny4239O vaxiEkEkXLgk+C0zZWpm05bu3hv3JL9tePjySlb1JxXKOn7h0waTiuSlBuDZs4hS Yb7TwghHPZMbSG+NOS/GzZI/bYrY1FgSb4gUUa6fLSoyI7jnpqHZFzV3UwJOeHCd BGGjIjUU8tLjhDMK7UckS9jwjEb0SusWfIEA36tko3xYI8TSN7zkck15KhiQLdsr 5ZxEtIAjUxh38y6MC9Csitah8PSV0/8ams5WduKybMlzDRCfZLMN2JeEsNDt0N1M Ykgidr5LMY02nvK27GgojA3+CDl3tA== =R8r6 -----END PGP SIGNATURE----- --U1t7w//IUm8YcF8e--