From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from khitomer.mortis.eu ([185.27.175.75]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YA2Ns-0002rQ-Pp for linux-mtd@lists.infradead.org; Sat, 10 Jan 2015 20:11:46 +0000 Date: Sat, 10 Jan 2015 21:11:13 +0100 From: Giel van Schijndel To: Andy Shevchenko Subject: Re: [PATCH v2] mtd: nftl: reorganize operations in condition check Message-ID: <20150110201113.GA7918@salidar.dom.custoft.eu> References: <1420663040-3857-1-git-send-email-andy.shevchenko@gmail.com> <20150109232900.GB9759@ld-irv-0074> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: Cc: Brian Norris , "open list:MEMORY TECHNOLOGY..." , David Woodhouse , Dimitri Gorokhovik List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 10, 2015 at 14:56:32 +0200, Andy Shevchenko wrote: > On Sat, Jan 10, 2015 at 1:29 AM, Brian Norris wrote: >> On Wed, Jan 07, 2015 at 10:37:20PM +0200, Andy Shevchenko wrote: >>> We need to compare ret variable for negative value. The current code >>> assigns the boolean to the ret and prints it wrongly in the warning >>> message. >>> >>> Reported-by: Andrey Karpov >>> Cc: Giel van Schijndel >>> Cc: Dimitri Gorokhovik >>> Signed-off-by: Andy Shevchenko >> >> To be clear, this touches some commented out code (yuck). I think you >> noted this previously. >=20 > It had been proposed by Giel. Yes, and I suspect (and hope) Brian's referring to the existence of commented-out code as "yuck", not the removal of bugs from it. >> For my reference, are you actually testing this driver? >=20 > Not a real testing. Only compilation on x86_32. Combined with review I think that's enough given the nature of this change. --=20 Met vriendelijke groet, With kind regards, Giel van Schijndel --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlSxh18ACgkQZBYm/87l50K8CwCfTI25llHhEyICgfZZDgkeHo9X 2XAAoIzKPkoF8INzf0UiZYT2kK9q/Qzt =Qs4Z -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--