Messages in this thread | | | Date | Thu, 24 May 2007 23:06:06 +0400 | From | Cyrill Gorcunov <> | Subject | Re: [PATCH]: UDF code style conversion to kernel style |
| |
[Pekka Enberg - Thu, May 24, 2007 at 09:47:42PM +0300] | Hi Cyrill, | | On 5/23/07, Cyrill Gorcunov <gorcunov@gmail.com> wrote: | >@@ -2103,7 +1944,7 @@ long udf_block_map(struct inode *inode, sector_t | >block) | > kernel_lb_addr eloc; | > uint32_t elen; | > sector_t offset; | >- struct extent_position epos = { NULL, 0, { 0, 0}}; | >+ struct extent_position epos = {}; | | Bits like these in the middle of indentation fixes makes me feel | uneasy. Could we simply ask Andrew to run Lindent on the UDF sources | at some convinient point and push those to Linus like we did with | mm/slab.c if I recall correctly? Its safer to do cleanups like these | after that. |
Dunno... Pekka, the patch I sent also added empty lines to separate some code block to be convenient to read. For some parts of code additinal 'if...else..' braces were added. Anyway even the code being formatted by linednt is to be reviewed manually I think. Anyway, your word Andrew?
Cyrill
- 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/
| |