diff options
| author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-10 10:40:37 +0000 | 
|---|---|---|
| committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-10 10:40:37 +0000 | 
| commit | 2fd2d1efb9a720b7e601123e5504730685e98557 (patch) | |
| tree | 3c95963e975c7d0af5c13d92d97a25290bcefaaa /test | |
| parent | 014976ee109e90dec11591118a4ab0d88c00118f (diff) | |
| download | ChibiOS-2fd2d1efb9a720b7e601123e5504730685e98557.tar.gz ChibiOS-2fd2d1efb9a720b7e601123e5504730685e98557.tar.bz2 ChibiOS-2fd2d1efb9a720b7e601123e5504730685e98557.zip | |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7747 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
| -rw-r--r-- | test/hal/testbuild/pclint/waivers.lnt | 24 | ||||
| -rw-r--r-- | test/rt/testbuild/pclint/waivers.lnt | 8 | 
2 files changed, 25 insertions, 7 deletions
| diff --git a/test/hal/testbuild/pclint/waivers.lnt b/test/hal/testbuild/pclint/waivers.lnt index 78b58e3c2..300ce66b9 100644 --- a/test/hal/testbuild/pclint/waivers.lnt +++ b/test/hal/testbuild/pclint/waivers.lnt @@ -6,6 +6,24 @@  +libh(core_cm4.h)
  +libh(stm32f4xx.h)
 +/* Reinforcing type checking for some critical types even if not required by
 +   MISRA.*/
 +-strong(AJX, systime_t)
 +-strong(AJX, rtcnt_t)
 +-strong(AJX, rttime_t)
 +-strong(AJX, syssts_t)
 +-strong(AJX, msg_t)
 +-strong(AJX, tmode_t)
 +-strong(AJX, tstate_t)
 +-strong(AJX, trefs_t)
 +-strong(AJX, tslices_t)
 +-strong(AJX, tprio_t)
 +-strong(AJX, cnt_t)
 +-strong(AJX, ucnt_t)
 +-strong(AJX, eventid_t)
 +-strong(AJX, eventmask_t)
 +-strong(AJX, eventflags_t)
 +
  /* Permitting anonymous unions.*/
  +fan
 @@ -50,7 +68,7 @@     header files, the guard is present, suppressing the noise.*/
  -e451
 -/* Waiver Rule 2.2, PCLint marks as pure functions that contain just arm
 +/* Waiver Rule 2.2, PCLint marks as pure functions that contain just asm
     code, this does not mean that those functions do nothing.*/
  -e522
 @@ -59,7 +77,7 @@     license URL and cannot be removed.*/
  -e9059
 -/* Waiver Rule 8.7, the static analyzer has no visibility of functions called
 +/* Waiver Rule 8.7, the static analyser has no visibility of functions called
     from asm modules.*/
  -e765
 @@ -69,7 +87,7 @@  /* Waiver Rule 11.3, casts among different types are required by system
     design.*/
 --e740       /* Wrongly marked as 1.3 in PCLint 9-0L.*/
 +-e740       /* Wrongly marked as 1.3 in PCLint 9.00L.*/
  -e9087
  /* Waiver Rule 11.6, cast from integer to pointer is very commonly used
 diff --git a/test/rt/testbuild/pclint/waivers.lnt b/test/rt/testbuild/pclint/waivers.lnt index 03ccb7a09..ab2507c94 100644 --- a/test/rt/testbuild/pclint/waivers.lnt +++ b/test/rt/testbuild/pclint/waivers.lnt @@ -4,7 +4,7 @@  -elib(*)                    /* No checks on library files. */
  +libclass(angle,ansi)
  +libh(core_cm4.h)
 -+libh(stm32f4xx.h)
 ++libh(stm32*.h)
  +libh(*_lld.h)
  /* Reinforcing type checking for some critical types even if not required by
 @@ -69,7 +69,7 @@     header files, the guard is present, suppressing the noise.*/
  -e451
 -/* Waiver Rule 2.2, PCLint marks as pure functions that contain just arm
 +/* Waiver Rule 2.2, PCLint marks as pure functions that contain just asm
     code, this does not mean that those functions do nothing.*/
  -e522
 @@ -78,7 +78,7 @@     license URL and cannot be removed.*/
  -e9059
 -/* Waiver Rule 8.7, the static analyzer has no visibility of functions called
 +/* Waiver Rule 8.7, the static analyser has no visibility of functions called
     from asm modules.*/
  -e765
 @@ -88,7 +88,7 @@  /* Waiver Rule 11.3, casts among different types are required by system
     design.*/
 --e740       /* Wrongly marked as 1.3 in PCLint 9-0L.*/
 +-e740       /* Wrongly marked as 1.3 in PCLint 9.00L.*/
  -e9087
  /* Waiver Rule 11.6, cast from integer to pointer is very commonly used
 | 
