Re: [PATCH] power: ab8500_fg.c: Cleaning up uninitialized variables

2014-06-29 Thread Rickard Strandqvist
Hi Can someone please check on this! This will cause an error, and is one of the most obvious ones I've found. So give it one minute please. Kind regards Rickard Strandqvist 2014-06-01 22:03 GMT+02:00 Rickard Strandqvist : > In this case the wrong variable is used, which has never been initial

[PATCH] power: ab8500_fg.c: Cleaning up uninitialized variables

2014-06-01 Thread Rickard Strandqvist
In this case the wrong variable is used, which has never been initialized. This will lead to a serious error. This was largely found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/power/ab8500_fg.c |4 ++-- 1 file changed, 2 insertion