From: Masahiro Yamada Date: Wed, 20 Aug 2014 12:47:34 +0900 Subject: [U-Boot] [PATCH] nand/denali: Adding Denali NAND driver support In-Reply-To: <1408441660-2299-1-git-send-email-clsee@altera.com> References: <1408441660-2299-1-git-send-email-clsee@altera.com> Message-ID: <20140820124734.67A4.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Chin, On Tue, 19 Aug 2014 04:47:40 -0500 Chin Liang See wrote: > + > +/* We need to buffer some data for some of the NAND core routines. > + * The operations manage buffering that data. */ > +static void reset_buf(struct denali_nand_info *denali) > +{ > + denali->buf.head = 0; > + denali->buf.tail = 0; > +} I compared v8 and v9. I noticed you changed this part from denali->buf.head = denali->buf.tail = 0; to denali->buf.head = 0; denali->buf.tail = 0; where nobody pointed out. My question is, foo = bar = 0 violates the codying style? Anyway, this version worked on my board. Signed-off-by: Masahiro Yamada Reviewed-by: Masahiro Yamada Tested-by: Masahiro Yamada Scott, Could you do a quick review on this, please? Best Regards Masahiro Yamada