From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 146A7C2B9F7 for ; Tue, 25 May 2021 00:59:35 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 84E08613D6 for ; Tue, 25 May 2021 00:59:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 84E08613D6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0F6A082FBA; Tue, 25 May 2021 02:58:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="HleTU2/r"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 07D8482F67; Tue, 25 May 2021 02:58:18 +0200 (CEST) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 10A3C82F70 for ; Tue, 25 May 2021 02:58:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x830.google.com with SMTP id i19so15513844qtw.9 for ; Mon, 24 May 2021 17:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=fkwgX97l+EgRSF65QUh//qxhu4uROq6WLHLHWpkR008=; b=HleTU2/rsvkVDBotXkaKp5IE2qP/GX5OaVo8OP/jinFA1MXMIkODolPzkvSqBLJscQ svZzw5mX5tWlYezgkwQQ6p1h7oZCSmvecZBert2E5b2l3RzQX1HzZIyw7VFtFMBwtW4U VtMdD7GfuQFRDP9F0HxMcwO2az9eqj/u1qfr0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=fkwgX97l+EgRSF65QUh//qxhu4uROq6WLHLHWpkR008=; b=jQNV8m0S9u5TlGa8Wr541O2sj7ujToTXT5wvJMqAIWMg9f1rdMxO8PfhVRTDAJ0jf1 EPONK+cYieS/DzCxigxoOm5+r2zp2xNsQwziudGRWTgHxhZ2Uc/mBU3rYn6yHNhvHwnQ Ij4BKYsXct0MfN5KR4FtiwICIsrrYszxQW8bWwkmPvs/CHbCeIpnK9w3R6yQ2Wg8/Pc0 gHIFzm9J2lgQxnEkzoZBl1ocm3BAkYC7Lw3sVFXL68ViG2crmCFcB5XQRIUi5ypf0fWp CM1qiGM+gOaXSwG4JwtC7etRO9s3f61ijJlTzstxZXeJgDKedXTM0qbuF62UgxFJ+GUz /WkA== X-Gm-Message-State: AOAM533WHNh4w/cwa3QByiVRKJW+9Q1lKeUEzRyfm2/FqVjVVtFSHAyx dJ6IzOczXpFETWZp+d8QVKHSHg== X-Google-Smtp-Source: ABdhPJzV5vDnp7nXKijG1fep25Np4faPyIZQmLdzyue2ozXWwuvJay+MmqDdudEH+jmZFFYduay3bw== X-Received: by 2002:a05:622a:92:: with SMTP id o18mr14365237qtw.342.1621904280913; Mon, 24 May 2021 17:58:00 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5ce8-9acb-4a3a-47a0.res6.spectrum.com. [2603:6081:7b01:cbda:5ce8:9acb:4a3a:47a0]) by smtp.gmail.com with ESMTPSA id x194sm12240840qkb.79.2021.05.24.17.58.00 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 May 2021 17:58:00 -0700 (PDT) Date: Mon, 24 May 2021 20:57:58 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List Subject: Re: [PATCH v2 07/16] test: Avoid random numbers in dm_test_devm_regmap() Message-ID: <20210525005758.GR17669@bill-the-cat> References: <20210513193923.v2.1.I85633a7354c5b2ad5c55257607280392d069d70c@changeid> <20210514014011.2832707-5-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HJ0QErfGPqetLz4X" Content-Disposition: inline In-Reply-To: <20210514014011.2832707-5-sjg@chromium.org> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean --HJ0QErfGPqetLz4X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > This should molify Coverity which does not use rand() being used. >=20 > Signed-off-by: Simon Glass > Reported-by: Coverity (CID: 312949) Applied to u-boot/master, thanks! --=20 Tom --HJ0QErfGPqetLz4X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmCsS5YACgkQFHw5/5Y0 tywCawwAsc0ILqRk5O/RG/AfLlsX1jON7/al0UU0HrQQto0AQp+Sn+AEDeWIrhUU UL6srEb22sGzK2o7u5irqXB+joLHrE69hzYUwu+l4UzQhraccHouYPEvR1M8CLqy yyAaXpMq6uKSmVaklYL837/WwKq7F1snbuPelzBDpjeciYLNoD5LoQ88dRfLMAGU Z1foa0OATlEraimz1LNsLDrU8xgdzA19QyIn4Ws2hrxpRWLsjqNm4VNU3ELeMfll aayWmIO3KsgGG6351Pi7p3EZ6EEA2qMpl7Wgta6H5EFQ9zsMljqnGVZgl2a6sl+v iUt2o0Q2AD+UBbDFThfNuxGt3b0jkSa6qpqMK1PisehGtzdAvBhtqvl2t51HL6cg 89+Ja07REaNqSI3GZWF6MtZwRymltQZMpSsBUfgphGYsHGnenbPDQY7cYhkVyXmt aWtQdjSs9PVrLRYWeV8+YP29k7/zaljmNqg5vumrllu6cwLiJxPv9LvlItVklilB uR+yMgKZ =1mUA -----END PGP SIGNATURE----- --HJ0QErfGPqetLz4X--