commit | c16bce7a6a2a9b1960835ecdaa6c9a23a78a9159 | [log] [tgz] |
---|---|---|
author | Leandro Pereira <leandro.pereira@intel.com> | Thu Jun 14 12:27:11 2018 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Jun 14 19:12:51 2018 -0400 |
tree | 5fa4e212a48c72f418e77b52f34d89b5c84a332e | |
parent | d901add4c7b804cd39c167d36811060931e2bb78 [diff] |
samples, subsys, tests: Use ARRAY_SIZE() whenever possible The ARRAY_SIZE() utility macro will actually test the parameter types, and ensure that it is only called with arrays, and not arrays decayed to pointers. Changes were performed with a simple Coccinelle script. Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>