Fix faults reported by Sonar tool.
authorKitae Kim <kt920.kim@samsung.com>
Thu, 20 Dec 2012 06:04:34 +0000 (15:04 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Thu, 20 Dec 2012 06:05:16 +0000 (15:05 +0900)
Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
Conflicts:

tizen/src/hw/maru_arm_pmu.c

tizen/src/hw/maru_arm_pmu.c
tizen/src/hw/maru_arm_vpci.c

index e7c1ae7abdf26a300d99527ebd2801156b082070..202ad81b857b39b84f6ff540b4bb47bb630f3084 100644 (file)
@@ -446,7 +446,7 @@ static void exynos4210_pmu_write(void *opaque, target_phys_addr_t offset,
             return;
         }
     default:
-        return;
+        break;
     }
 }
 
index c81d536cef6d2949d303250df8f6120835b83093..66e714b791c2cd53a6f89e7a998edbb2248244b3 100644 (file)
@@ -48,6 +48,8 @@ static uint64_t tizen_vpci_io_read(void *opaque, target_phys_addr_t addr,
         return cpu_inw(addr);
     case 4:
         return cpu_inl(addr);
+    default:
+        break;
     }
     assert(0);
 }