Re: [PATCH 7/7] bootmem: miscellaneous coding style fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 27 Jun 2006 21:22:29 +0200 Franck Bui-Huu wrote:

> 2006/6/27, Dave Hansen <[email protected]>:
> > On Tue, 2006-06-27 at 14:54 +0200, Franck Bui-Huu wrote:
> > >  }
> > > +
> > >  /*
> > >   * link bdata in order
> > >   */
> > >  static void __init link_bootmem(bootmem_data_t *bdata)
> > >  {
> > >         bootmem_data_t *ent;
> > > +
> > >         if (list_empty(&bdata_list)) {
> >
> > I'd discourage you from including too many of these in your patches.
> > One or two is probably OK.  But, there are a bunch of them, and it isn't
> > clear CodingStyle to have spacing like this either way.  I'd drop them.
> >
> 
> IMHO they make the code obviously more readable and obviously do not
> add any new bugs. So why drop them ?

I'd say the change is preferred even if it's not in CodingStyle.

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux