diff options
author | Robert Nelson <xx...@gmail.com> | 2013-02-28 13:23:26 -0600 |
---|---|---|
committer | Tapani <tapani@vmail.me> | 2013-04-01 14:10:23 +0800 |
commit | fe9697f476cfa5aa0362401a36d4ce0a7ee6b866 (patch) | |
tree | 91ab1f4aaa31636f65357afc7ddad638e20f38db | |
parent | 4ce3e8c2e175d4903ccc9636397eb87a6c61d5e0 (diff) |
fix: a couple uninitialized variables
Signed-off-by: Robert Nelson <xx...@gmail.com>
-rw-r--r-- | drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command_vg.c | 2 | ||||
-rw-r--r-- | drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_video_memory.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command_vg.c b/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command_vg.c index b3e28ec09d80..31dce5286cb4 100644 --- a/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command_vg.c +++ b/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command_vg.c @@ -1108,7 +1108,7 @@ _AllocateCommandBuffer( gctUINT requestedSize; gctUINT allocationSize; gctUINT32 address = 0; - gcsCMDBUFFER_PTR commandBuffer; + gcsCMDBUFFER_PTR commandBuffer = gcvNULL; gctUINT8_PTR endCommand; /* Determine the aligned header size. */ diff --git a/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_video_memory.c b/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_video_memory.c index dc39b3927fff..b681a654ec3d 100644 --- a/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_video_memory.c +++ b/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_video_memory.c @@ -1662,7 +1662,7 @@ gckVIDMEM_Lock( gctBOOL acquired = gcvFALSE; gctBOOL locked = gcvFALSE; gckOS os = gcvNULL; - gctBOOL needMapping; + gctBOOL needMapping = gcvFALSE; gctUINT32 baseAddress; gcmkHEADER_ARG("Node=0x%x", Node); |