Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755519AbcJZV7i (ORCPT ); Wed, 26 Oct 2016 17:59:38 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:57908 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754329AbcJZV7f (ORCPT ); Wed, 26 Oct 2016 17:59:35 -0400 Date: Wed, 26 Oct 2016 22:59:24 +0100 From: Mark Brown To: Heiner Kallweit Cc: Arnd Bergmann , Linus Torvalds , linux-kernel@vger.kernel.org, Nobuteru Hayashi , linux-spi@vger.kernel.org Message-ID: <20161026215923.GF25322@sirena.org.uk> References: <4b1c5f78-d754-fdc8-0f15-17f88ed224b7@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/aVve/J9H4Wl5yVO" Content-Disposition: inline In-Reply-To: <4b1c5f78-d754-fdc8-0f15-17f88ed224b7@gmail.com> X-Cookie: Stay together, drag each other down. User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 2001:470:1f1d:6b5::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: Merge problem: Re: Applied "spi: fsl-espi: avoid processing uninitalized data on error" to the spi tree X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 33 --/aVve/J9H4Wl5yVO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 26, 2016 at 08:11:28PM +0200, Heiner Kallweit wrote: > Instead it should be: >=20 > if (rx_nr_bytes && mspi->rx) { > *(u32 *)mspi->rx =3D rx_data; > mspi->rx +=3D 4; > } Please send a patch. --/aVve/J9H4Wl5yVO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEbBAEBCAAGBQJYESc6AAoJECTWi3JdVIfQof0H92wRDgwPB0nvuXFPMDGTK/+8 9J20Ly8/bzuRCDCpwrDsEWZUhqmnoulzHmLZCN0q2cNP1MdG8oMpX17VbriU/swo gfoChL1gga/8fRebZQCkPrSuzMkzKbCZzhZAVweM/dH80GBoS90YEGbvUVY4wbUx OtTqT6MVQTdPSJ+OM0h5TXoeArLBrO0XuaXzKolGjiuK3A6O6StGTPgESvwR66sN hRYSzrOboqTLw2bgxzAIq8x7r2qc2G80m311pyCwdnZJFPs+WUSwegQACIPee8mL T9kUsV1XwyLol0X+GLxhG0ffjFh3gKD9yDq9C20J/HY74MyZq1ryK6oxl5Dnig== =EBeH -----END PGP SIGNATURE----- --/aVve/J9H4Wl5yVO--