Fix more bugs found during static code analysis

Fix miscellaneous bugs found by static source code analysis

Change-Id: Ia84018c213d4731d51044f84c74407a5aac51326
6 files changed
tree: dc82fbbe01ead6926b77f0a424339629ef02e5d2
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig