Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751640Ab2FILDg (ORCPT ); Sat, 9 Jun 2012 07:03:36 -0400 Received: from casper.infradead.org ([85.118.1.10]:57450 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750852Ab2FILDf (ORCPT ); Sat, 9 Jun 2012 07:03:35 -0400 Message-ID: <1339239805.16559.36.camel@i7.infradead.org> Subject: Re: [PATCH] mtd: nand: Properly initialize 'mtd->bitflip_threshold' prior 'scan_bbt()' is invoked From: David Woodhouse To: Sascha Hauer Cc: Shmulik Ladkani , Artem Bityutskiy , linux-mtd@lists.infradead.org, Mike Dunn , linux-kernel@vger.kernel.org, Ivan Djelic Date: Sat, 09 Jun 2012 12:03:25 +0100 In-Reply-To: <20120609094313.GB30400@pengutronix.de> References: <20120608182906.57b4844a@halley> <20120609094313.GB30400@pengutronix.de> Content-Type: multipart/signed; micalg="sha1"; protocol="application/x-pkcs7-signature"; boundary="=-4hrRp+chXnbjoRL/FKYD" X-Mailer: Evolution 3.4.2 (3.4.2-1.fc17) Mime-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9393 Lines: 148 --=-4hrRp+chXnbjoRL/FKYD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2012-06-09 at 11:43 +0200, Sascha Hauer wrote: >=20 > > - The issue was introduced in 3.5-rc1 and needs to be merged before > 3.5 > > - Sascha, I've credited you as the reporter, is that ok? >=20 > Sure, that's ok. >=20 > > - Sascha, care to test and verify it works for your system? >=20 > Yes, this puts my system back to work >=20 > Tested-by: Sascha Hauer =20 Thanks. I've pushed this to linux-mtd.git and will ask Linus to pull it shortly. --=20 dwmw2 --=-4hrRp+chXnbjoRL/FKYD Content-Type: application/x-pkcs7-signature; name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s0Beks3EQpNKkhX1NF8wgaUGCSsGAQQBgjcQBDGBlzCBlDCBjDELMAkGA1UEBhMC SUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRp ZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1l ZGlhdGUgQ2xpZW50IENBAgMEJnowgacGCyqGSIb3DQEJEAILMYGXoIGUMIGMMQswCQYDVQQGEwJJ TDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlm aWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVk aWF0ZSBDbGllbnQgQ0ECAwQmejANBgkqhkiG9w0BAQEFAASCAQBJWu0BLEA9jvA9AErThcaLi9AH NenXK3UkGEs6SqdYXAQqYfzZ01xHO6Ssk0ActZpBneCyT/7rzA4nx59YVQajQAc5vmfSZ5Qs7ewq FT2zEYLj2lm4PdMklehJpNhtTq2/1FnMZ49L81lqXNIeiG691ni6opqUm/1vSkv5Oz4XneT3CfPM 3XA65vS5iyfMhwTCyxwOOOKcAHrFKZ1Vh3kvV0G//CNoopRo3misWzIv52htk/OPN3SVBWfBvZnX ZnJRM7V0nthn7TboJhiR/d1UQxSH4orJjcUAY4aG4R0fqI7o1n00KVJOpAAp/VtL1Ap2HfPx5A2Q 54lPGyvoC/ntAAAAAAAA --=-4hrRp+chXnbjoRL/FKYD-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/