Skip to content

Commit

Permalink
Merge of lint branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
eija committed Jan 11, 2011
2 parents 780af9a + a8db3cb commit 958e349
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions memory/Fee/Fee.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@

//lint -emacro(904,VALIDATE_RV,VALIDATE_NO_RV) //904 PC-Lint exception to MISRA 14.7 (validate macros).

// Exception made as a result of that NVM_DATASET_SELECTION_BITS can be zero
//lint -emacro(835, MIN_BLOCKNR) // 835 PC-lint: A zero has been given as right argument to operator '<<' or '>>'
//lint -emacro(835, GET_BLOCK_INDEX_FROM_BLOCK_NUMBER) // 835 PC-lint: A zero has been given as right argument to operator '<<' or '>>'
//lint -emacro(835, GET_DATASET_FROM_BLOCK_NUMBER) // 835 PC-lint: A zero has been given as right argument to operator '<<' or '>>'
//lint -emacro(778, GET_DATASET_FROM_BLOCK_NUMBER) // 778 PC-lint: Constant expression evaluates to 0 in operation '-'
//lint -emacro(845, GET_DATASET_FROM_BLOCK_NUMBER) // 845 PC-lint: The right argument to operator '&' is certain to be 0
//lint -emacro(835, BLOCK_INDEX_AND_SET_TO_BLOCKNR) // 835 PC-lint: A zero has been given as right argument to operator '<<' or '>>'

#include <string.h>
#include "Fee.h"
#include "Fee_Cbk.h"
Expand Down
8 changes: 6 additions & 2 deletions memory/NvM/NvM.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@
* NB! Even though some code exist for handling crc, the functionality is not complete
* and shall not be used.
*/
// 522 PC-Lint exception for empty functions
//lint -esym(522,CalcCrc)

//lint -esym(522,CalcCrc) // 522 PC-Lint exception for empty functions
//lint -emacro(904,VALIDATE_RV,VALIDATE_NO_RV) //904 PC-Lint exception to MISRA 14.7 (validate macros).

// Exception made as a result of that NVM_DATASET_SELECTION_BITS can be zero
//lint -emacro(835, BLOCK_BASE_AND_SET_TO_BLOCKNR) // 835 PC-lint: A zero has been given as right argument to operator '<<' or '>>'



#include "NvM.h"
#include "NvM_Cbk.h"
Expand Down

0 comments on commit 958e349

Please sign in to comment.