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

Tom Rini trini at konsulko.com
Tue May 25 02:57:58 CEST 2021


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 <sjg at chromium.org>
> Reported-by: Coverity (CID: 312949)

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210524/16646a72/attachment.sig>


More information about the U-Boot mailing list