[PATCH] tools: image-host.c: use random instead of rand
Tom Rini
trini at konsulko.com
Fri Nov 20 02:39:00 CET 2020
On Fri, Nov 13, 2020 at 04:37:46PM +0100, Philippe Reynes wrote:
> According to the manpage of rand, it is recommended
> to use random instead of rand. This commit updates
> the function get_random_data to use random.
>
> Reported-by: Coverity (CID: 312953)
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
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/20201119/8879907c/attachment.sig>
More information about the U-Boot
mailing list