Re: [PATCH v2 07/16] test: Avoid random numbers in dm_test_devm_regmap()

2021-05-24 Thread Tom Rini
On Thu, May 13, 2021 at 07:39:23PM -0600, Simon Glass wrote: > There is no good reason to use a sequence from rand() here. We may as well > invent our own sequence. > > This should molify Coverity which does not use rand() being used. > > Signed-off-by: Simon Glass > Reported-by: Coverity

[PATCH v2 07/16] test: Avoid random numbers in dm_test_devm_regmap()

2021-05-13 Thread Simon Glass
There is no good reason to use a sequence from rand() here. We may as well invent our own sequence. This should molify Coverity which does not use rand() being used. Signed-off-by: Simon Glass Reported-by: Coverity (CID: 312949) --- (no changes since v1) test/dm/regmap.c | 3 +-- 1 file