Re: [PATCH] arch: tile: kernel: unaligned.c: Cleaning up uninitialized variables

2014-06-08 Thread Rickard Strandqvist
Hi Chris So uint max was a better default value. Yeah, good it came into use. The main thing that the code got a proper review :) Kind regards Rickard Strandqvist 2014-06-08 3:41 GMT+02:00 Chris Metcalf : > On 5/31/2014 7:00 PM, Rickard Strandqvist wrote: >> >> There is a risk that the variabl

Re: [PATCH] arch: tile: kernel: unaligned.c: Cleaning up uninitialized variables

2014-06-07 Thread Chris Metcalf
On 5/31/2014 7:00 PM, Rickard Strandqvist wrote: There is a risk that the variable will be used without being initialized. This was largely found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/tile/kernel/unaligned.c |2 +- 1 file cha

[PATCH] arch: tile: kernel: unaligned.c: Cleaning up uninitialized variables

2014-05-31 Thread Rickard Strandqvist
There is a risk that the variable will be used without being initialized. This was largely found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/tile/kernel/unaligned.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ar