commit | cbeac3e97db5a658f9f99d38c23dad1baa6420c8 | [log] [tgz] |
---|---|---|
author | Qiu Peiyang <peiyangx.qiu@intel.com> | Mon Jan 23 13:38:20 2017 +0800 |
committer | Anas Nashif <nashif@linux.intel.com> | Wed Jan 25 14:25:03 2017 +0000 |
tree | 597f860ce0c069620abd5fb982cdd1b3bfbe470b | |
parent | d31ffd9ccaa60e47359952f87fe8964ee7994e2e [diff] |
tests/gpio: don't call risk function According to Coverity, rand() is a risk function. So we use another method to generate random value. Coverity-CID: 160070 Change-Id: Icb7e06cd43cb8bade6596cc37e9d04bfc59e1de7 Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>