![]() | |||||||||||||
Messages in this thread |
On Sun, 2007-02-25 at 05:50 +0000, Christoph Hellwig wrote: > > I do not see what is the problem with this. Please, refine. > global variables are very bad for code maintainability and understanadbility. > So we usually try to avoid them if possible and make them static to a > single file and provide proper accessors for allowed actions on them. I will think about this, but at the first glance it looks like it will be too much to provide distinct functions to assces the current number of attached UBI devices. I can make it inline, but then exporting the variable will be needed anyway. -- Best regards, Artem Bityutskiy (Битюцкий Артём) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2007-02-26 11:13 [from the cache] ©2003-2008 | |||||||||||||