Re: [PATCH] init.h: introduce fake define (__init & __initdata) to simplify the linux sync

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

 



> >  
> > +/*
> > + * fake define to simplify the linux sync
> > + */
> > +#define __init
> > +#define __initdata
> > +
> 
> IMO, having useless __init/__initdata in the code adds noise, and reduces 
> readability.  These can be easily removed as code gets moved from Linux to 
> Barebox.

but make impossible to apply patch directly or very quickly update the code
so this will make the job of maintainance easier

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux