From: Wolfgang Denk Date: Fri, 21 Aug 2009 23:59:15 +0200 Subject: [U-Boot] [PATCH 2/4]: Define ffs/fls for all architectures In-Reply-To: <20090820104212.48a033e2@marrow.netinsight.se> References: <20090818110841.0eb04975@marrow.netinsight.se> <20090818111308.3e6a4149@marrow.netinsight.se> <20090819231109.GI8470@game.jcrosoft.org> <20090820104212.48a033e2@marrow.netinsight.se> Message-ID: <20090821215915.BB481833DBD2@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon Kagstrom, In message <20090820104212.48a033e2@marrow.netinsight.se> you wrote: > On Thu, 20 Aug 2009 01:11:09 +0200 > Jean-Christophe PLAGNIOL-VILLARD wrote: > > > On 11:13 Tue 18 Aug , Simon Kagstrom wrote: > > > Define ffs/fls for all architectures > > > > > > UBIFS requires fls(), which is not defined for arm (and some other > > > architectures) and this patch adds it. The implementation is taken from > > > Linux and is generic. ffs() is also defined for those that miss it. > > > > > > v2: Unify code style (empty line between ffs/fls) > > please this > > > > > > Signed-off-by: Simon Kagstrom > > > --- > > here > > I didn't add that myself - it's git format-patch that put it there. What Jean-Christophe means is: Please don't put comments like "v2: Unify code style ..." in the area where the commit message is, but move them into the comment section, i. e. below the "---" line. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de To be sure of hitting the target, shoot first and, whatever you hit, call it the target.