[PATCH/RFC] MTD: Striping layer core

Alexander Belyakov alexander.belyakov at intel.com
Fri Mar 31 03:11:29 EST 2006


Artem B. Bityutskiy wrote:
> Just in general, the
>
> #ifdef EPRST
> #include <elki-palki.h>
> #endif
>
> is not very nice. It is nicer to add the #ifdef protection in the 
> header itself. This is not a major problem, but it is just nicer and 
> Linux people like this. Just incapsulate all the protection in the 
> header itself. Don't spread the protection over many .c files which 
> may potentially want to include your header.
>
I followed the already existing example for partitions.h in the same 
mphysmap.c file. Just thought it's OK. I'll try to fix that, thanks.

Alexander Belyakov




More information about the linux-mtd mailing list