diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-08 09:18:14 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-08 09:18:14 +0000 |
commit | 5c59ea8af5089d4dccd10a8ad2faefcff350c9b8 (patch) | |
tree | 9874ece7bbffed9f065f1676da5cced7157a4e4a /test/rt | |
parent | 0fda3648f96f5fe9b1b14870d1e51375901fc348 (diff) | |
download | ChibiOS-5c59ea8af5089d4dccd10a8ad2faefcff350c9b8.tar.gz ChibiOS-5c59ea8af5089d4dccd10a8ad2faefcff350c9b8.tar.bz2 ChibiOS-5c59ea8af5089d4dccd10a8ad2faefcff350c9b8.zip |
New MISRA waivers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7736 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/rt')
-rw-r--r-- | test/rt/testbuild/pclint/waivers.lnt | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/test/rt/testbuild/pclint/waivers.lnt b/test/rt/testbuild/pclint/waivers.lnt index e6caa1612..93f34edeb 100644 --- a/test/rt/testbuild/pclint/waivers.lnt +++ b/test/rt/testbuild/pclint/waivers.lnt @@ -10,12 +10,13 @@ /* Silencing common non-MISRA info generated by PCLint in -w3 mode. All of
them have been controlled. Other infos have been fixed in the code.*/
-e526 -e537
--e714 -e716 -e717 -e757 -e758 -e759 -e768 -e773
+-e714 -e716 -e717 -e757 -e758 -e759 -e768 -e773 -e793
-e826 -e830 -e835 -e845
/* Removing *advisory* directives and rules that would negatively impact
code readability or not avoidable.*/
-e970 /* Dir-4.6 */
+-e9045 /* Dir-4.8 */
-e9026 /* Dir-4.9 */
-e756 /* Rule-2.3 */
-e9058 /* Rule-2.4 */
@@ -25,6 +26,10 @@ -e818 /* Rule 8.13 */
-e9078 /* Rule-11.4 */
-e9079 /* Rule-11.5 */
+-e9049 /* Rule-13.3 */
+-e9084 /* Rule-13.4 */
+-e801 /* Rule-15.1 */
+-e9011 /* Rule-15.4 */
-e904 /* Rule-15.5 */
-e9044 /* Rule-17.8 */
-e9016 /* Rule-18.4 */
@@ -53,6 +58,15 @@ from asm modules.*/
-e765
+/* Waiver Rule 11.1, casts of function pointers are required by system
+ design.*/
+-e9074
+
+/* Waiver Rule 11.3, casts among different types are required by system
+ design.*/
+-e740 /* Wrongly marked as 1.3 in PCLint 9-0L.*/
+-e9087
+
/* Waiver Rule 11.6, cast from integer to pointer is very commonly used
when accessing peripherals where the numeric address of the registers
block is cast to a structure pointer.*/
@@ -64,6 +78,13 @@ -e616
-e825
+/* Waiver Rule 18.2, pointers arithmetic is required by system design and
+ deemed safe.*/
+/* Waiver Rule 18.3, comparisons among pointers is required by system design
+ and deemed safe.*/
+-e946
+-e947
+
/* Waiver Rule 21.1, this is an operating system, its identifiers are
equivalent in importance to compiler symbols.*/
-e9071
|