[rtems commit] bsps/arm: Fix broken switch statement
Sebastian Huber
sebh at rtems.org
Mon Jan 18 07:14:20 UTC 2016
Module: rtems
Branch: 4.11
Commit: d4520c19009d98fa40e977b57283c92c921c3284
Changeset: http://git.rtems.org/rtems/commit/?id=d4520c19009d98fa40e977b57283c92c921c3284
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Jan 18 08:10:54 2016 +0100
bsps/arm: Fix broken switch statement
Close #2530.
---
c/src/lib/libbsp/arm/shared/include/arm-errata.h | 9 +++++----
1 file changed, 5 insertions(+), 4 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 c58084a..f418cca 100644
--- a/c/src/lib/libbsp/arm/shared/include/arm-errata.h
+++ b/c/src/lib/libbsp/arm/shared/include/arm-errata.h
@@ -77,10 +77,10 @@ static bool arm_errata_is_applicable_processor_errata_764369(
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;
@@ -116,9 +116,10 @@ static bool arm_errata_is_applicable_processor_errata_775420(
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;
@@ -129,4 +130,4 @@ static bool arm_errata_is_applicable_processor_errata_775420(
}
#endif /* __cplusplus */
-#endif /* ARM_ERRATA_H_ */
\ No newline at end of file
+#endif /* ARM_ERRATA_H_ */
More information about the vc
mailing list