From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ernst.netinsight.se ([212.247.11.2]) by bombadil.infradead.org with smtp (Exim 4.68 #1 (Red Hat Linux)) id 1Jt06K-0000YN-Jg for linux-mtd@lists.infradead.org; Mon, 05 May 2008 12:47:29 +0000 Message-ID: <481F01DB.60603@users.sourceforge.net> Date: Mon, 05 May 2008 14:47:23 +0200 From: =?ISO-8859-1?Q?Anders_Grafstr=F6m?= MIME-Version: 1.0 To: Alexander Belyakov Subject: Re: [RFC/PATCH][NOR] Fix cfi_cmdset_0001.c FL_SYNCING race References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "linux-mtd@lists.infradead.org" , Nicolas Pitre , David Woodhouse , Alexander Belyakov List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Alexander Belyakov wrote: > + /* Prevent setting state FL_SYNCING for chip in suspended state. */ > + if (FL_SYNCING == mode && FL_READY != chip->oldstate) The operand order differs from the rest of the code. Apart from that I think it looks ok. Anders