Re: [PATCH] media, platform, LLVMLinux: Remove nested function from ti-vpe

2014-10-30 Thread Mauro Carvalho Chehab
Em Fri, 26 Sep 2014 18:11:45 -0700 Behan Webster escreveu: > Replace the use of nested functions where a normal function will suffice. > > Nested functions are not liked by upstream kernel developers in general. Their > use breaks the use of clang as a compiler, and doesn't make the code any >

Re: [PATCH] media, platform, LLVMLinux: Remove nested function from ti-vpe

2014-10-30 Thread Mauro Carvalho Chehab
Em Fri, 26 Sep 2014 18:11:45 -0700 Behan Webster beh...@converseincode.com escreveu: Replace the use of nested functions where a normal function will suffice. Nested functions are not liked by upstream kernel developers in general. Their use breaks the use of clang as a compiler, and doesn't

[PATCH] media, platform, LLVMLinux: Remove nested function from ti-vpe

2014-09-26 Thread Behan Webster
Replace the use of nested functions where a normal function will suffice. Nested functions are not liked by upstream kernel developers in general. Their use breaks the use of clang as a compiler, and doesn't make the code any better. This code now works for both gcc and clang. Signed-off-by:

[PATCH] media, platform, LLVMLinux: Remove nested function from ti-vpe

2014-09-26 Thread Behan Webster
Replace the use of nested functions where a normal function will suffice. Nested functions are not liked by upstream kernel developers in general. Their use breaks the use of clang as a compiler, and doesn't make the code any better. This code now works for both gcc and clang. Signed-off-by: