Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1F1A8C7EE26 for ; Tue, 23 May 2023 02:20:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D89C582757; Tue, 23 May 2023 04:20:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Q5lD1v9h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9F05082757; Tue, 23 May 2023 04:20:38 +0200 (CEST) Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) (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 4F5C384674 for ; Tue, 23 May 2023 04:20:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=cfsworks@gmail.com Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-528cdc9576cso4752025a12.0 for ; Mon, 22 May 2023 19:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684808434; x=1687400434; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Qv7YmNV28jWGCzplTb0mSSK6kxlXfSgZs0DGrlVyzt4=; b=Q5lD1v9hrgtMe/zYwM6pXozMnYn9eDIM9oNVeztAw1XAmxV+/Ro7E2wAWvPKivEOlT a+B38v8z+ilslAyb81Xtf/bqitLz8kZ+enAgWraATcD+N00cSLjDDPgryO9utdsABxiC vBhmbJGpSLJxUNzF/6J7+Qzg2OQ8C4fnI25eag/NdcOJueq799Jv3Fjak7fd0RH23ury IIXj7KLUt6ZWHUqFGXDeMg4lxRCUUbwhp8SLvjDFzJ+9arZ1PMetcHaRmv+Nu1aq+9x0 wBoFj75j4/B6vCrj7/FEuJuaVcAFQztiN4dit8QRA0KolNP1TpG0HM51nOuIqt61ifIj Hldg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684808434; x=1687400434; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Qv7YmNV28jWGCzplTb0mSSK6kxlXfSgZs0DGrlVyzt4=; b=j4ff19GpNO+xOdeFBlLL9VkrT6Erw8Ui5UGToIFoFQVBq9Epxi8QX1iAnryYb9gXon Z35pF6HdXl+7KDjFrAEV6RTw5LJOaRox2kcy6sePUprqGImrocgSzKyPUvlFwJi0PCX4 G+0K8T+biSkolzJMT48cjaAuYqCaK1GAXBppc2J+byPVTIk04doYOUElDJsQqAQYUQJm E5kubtvFt3aLuKpGnsMYgAtk/7H5UK7r/6HLPUuTRXh0PMJ3xsePNCs1CRk02ACmnHQn /tdbZrNsLRycnSEr6UJqkby5O/twlks3CWfIBbLeGOvuN+dee1eHo8eaB6EjQZThAefQ M7cQ== X-Gm-Message-State: AC+VfDw262Y0eReNNbfmS/oKoYFgWhOSgqqVXbqIcDgvKxmrrDo8u7/y cqcjz/pszeCB8Ib0Qe6Ci7g= X-Google-Smtp-Source: ACHHUZ5pYseKEwRjk8Vcuc7PmYEj0tm14KlR2KKrO0mBtkEolg8Kg91wVtoLyMsE0gu2uIhvHqsPCg== X-Received: by 2002:a17:902:e88d:b0:1af:a143:b0e7 with SMTP id w13-20020a170902e88d00b001afa143b0e7mr9152405plg.10.1684808434389; Mon, 22 May 2023 19:20:34 -0700 (PDT) Received: from [10.64.107.252] (static-198-54-134-172.cust.tzulo.com. [198.54.134.172]) by smtp.gmail.com with ESMTPSA id a6-20020a170902ecc600b0019719f752c5sm5455682plh.59.2023.05.22.19.20.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 May 2023 19:20:33 -0700 (PDT) Message-ID: <3d62d352-12fe-7d40-fbb2-20899d3a530a@gmail.com> Date: Mon, 22 May 2023 20:20:32 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH] mmc: fix improper use of memset Content-Language: en-US To: Peng Fan , u-boot@lists.denx.de Cc: Jaehoon Chung , Peng Fan References: <20230518194707.63399-1-CFSworks@gmail.com> From: Sam Edwards In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.8 at phobos.denx.de X-Virus-Status: Clean Hi, Peng Fan! Thank you for your review. :) On 5/22/23 19:44, Peng Fan wrote: > This looks correct to me. BTW: do you met any issues during test? I do not think I understand the question. Are you asking, "Did you send this patch because the current MMC driver was having problems on a real device?" If so, the answer is no. I only sent this to resolve a compiler warning. Or are you asking, "Did you have any problems while testing after making this change?" If so, the answer is still no. But I also do not know whether or not my use of this driver was hitting this specific memset() at all. Kind regards, Sam