[rtems commit] bsps/arm: Fix broken switch statement

Sebastian Huber sebh at rtems.org
Mon Jan 18 07:12:44 UTC 2016


Module:    rtems
Branch:    master
Commit:    4ba66e543822a0eaa8540a0ee101b1256c4d40c0
Changeset: http://git.rtems.org/rtems/commit/?id=4ba66e543822a0eaa8540a0ee101b1256c4d40c0

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jan 18 08:10:54 2016 +0100

bsps/arm: Fix broken switch statement

Update #2530.

---

 c/src/lib/libbsp/arm/shared/include/arm-errata.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/c/src/lib/libbsp/arm/shared/include/arm-errata.h b/c/src/lib/libbsp/arm/shared/include/arm-errata.h
index dae67a7..5108c98 100644
--- a/c/src/lib/libbsp/arm/shared/include/arm-errata.h
+++ b/c/src/lib/libbsp/arm/shared/include/arm-errata.h
@@ -70,10 +70,10 @@ static inline bool arm_errata_is_applicable_processor_errata_764369(void)
     case ARM_RELEASE_ID_R2_P2:
     case ARM_RELEASE_ID_R2_P0:
       is_applicable = true;
-    break;
+      break;
     default:
       is_applicable = false;
-    break;
+      break;
   }
 
   return is_applicable;
@@ -105,9 +105,10 @@ static inline bool arm_errata_is_applicable_processor_errata_775420(void)
     case ARM_RELEASE_ID_R2_P3:
     case ARM_RELEASE_ID_R2_P2:
       is_applicable = true;
+      break;
     default:
       is_applicable = false;
-    break;
+      break;
   }
 
   return is_applicable;




More information about the vc mailing list