commit | 4408e88ea8eba12d41eeb4f9c1b2519e679c019a | [log] [tgz] |
---|---|---|
author | Anthony Zhou <anzhou@nvidia.com> | Fri Jul 07 14:29:51 2017 +0800 |
committer | Varun Wadekar <vwadekar@nvidia.com> | Fri Jan 18 09:21:50 2019 -0800 |
tree | dd53ffc449fe05efe463dcb7fe0e59e9419d8d3e | |
parent | d417ceade4247d5cb2e125116cd7732a7a2bb5bf [diff] |
Tegra: common: fix defects flagged by MISRA scan Macro assert(e) request 'e' is a bool type, if useing other type, MISRA report a "The Essential Type Model" violation, Add a judgement to fix the defects, if 'e' is not bool type. Remove unused code [Rule 2.5] Fix the essential type model violation [Rule 10.6, 10.7] Use local parameter to raplace function parameter [Rule 17.8] Change-Id: Ifce932addbb0a4b063ef6b38349d886c051d81c0 Signed-off-by: Anthony Zhou <anzhou@nvidia.com>