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 B6E18C7EE2A for ; Thu, 1 Jun 2023 15:27:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 17E3586372; Thu, 1 Jun 2023 17:25:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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="SRc5oj1j"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2A41C862D0; Thu, 1 Jun 2023 17:25:27 +0200 (CEST) Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (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 AE3CF8631B for ; Thu, 1 Jun 2023 17:25:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb36.google.com with SMTP id 3f1490d57ef6-bad97da58adso1036614276.1 for ; Thu, 01 Jun 2023 08:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1685633122; x=1688225122; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=/cI5/PdibVPt1J29A+SLF8xJuXNLoIAFdiWRwCe7oko=; b=SRc5oj1jWjSyb/mxIL0mfIEX2WRhpKTNw4EeBHsrPfHIn9oy+AqNzxjkhETBgz9mcQ uRwBDcMyRqEnu5XfPG1liasdq4hOI7Ul1AW4/zUt7nZmLBfimLzFCktVEuZVyxUG3t6A J849b3/Edy22bMcA4yZCxAPccg8tM4tlroDi8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685633122; x=1688225122; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/cI5/PdibVPt1J29A+SLF8xJuXNLoIAFdiWRwCe7oko=; b=MEaD8JqkL581z6PpnYSX+h6KFclBvzvxS7FHPNYg//Wj21UnizGC0eBRAy/9byfeYf mP9//AgveZBsog8Kr4whYDXqrGDjc/gxji5e13YHrfXWFhxns+MniQ83CoSBlnPXByTD vqHvjZVwkg/Pl6/wxiXSH7X4HwnPHYUkk29wjHiy/J9CKIVM6D0vhstfoW/lEC3up9n4 Vg/iUBdM04a1hFXZqir8rU1RCHa2LoNKqlSqYEcvq5oM9TQdm39dY7I02EqU4dCarh0F RH0/SBKHfCZtj/xme/LssEbV5aVNU56jkcvHbKu+ClLju8/0YmQSz4qJSF0bLo5kL/6z qU1w== X-Gm-Message-State: AC+VfDwsmNDMcObAlfTXF1z7KECBhnbkTuM4yyGCpKPpmwIo5tIfBh9i AOg7/VyQBIIYRDs0ZyWQWIG/pQ== X-Google-Smtp-Source: ACHHUZ7WM25CPtBxkg94ZXa5LP2yrDbbHyZTMN9ZmqFiDl8tlHw27RCx63lT2TIA2J2ZbCOHd99u+w== X-Received: by 2002:a81:778b:0:b0:565:edf7:69c1 with SMTP id s133-20020a81778b000000b00565edf769c1mr11037821ywc.36.1685633122515; Thu, 01 Jun 2023 08:25:22 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-94b3-8a65-fec1-4b24.res6.spectrum.com. [2603:6081:7b00:6400:94b3:8a65:fec1:4b24]) by smtp.gmail.com with ESMTPSA id s130-20020a817788000000b00559ec10f245sm6286099ywc.103.2023.06.01.08.25.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 08:25:22 -0700 (PDT) Date: Thu, 1 Jun 2023 11:25:20 -0400 From: Tom Rini To: Sam Edwards Cc: u-boot@lists.denx.de, Jaehoon Chung , Peng Fan Subject: Re: [PATCH] mmc: fix improper use of memset Message-ID: <20230601152520.GV3755309@bill-the-cat> References: <20230518194707.63399-1-CFSworks@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m+pz9A6iAkVC+mwE" Content-Disposition: inline In-Reply-To: <20230518194707.63399-1-CFSworks@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett 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 --m+pz9A6iAkVC+mwE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 18, 2023 at 01:47:07PM -0600, Sam Edwards wrote: > Buffers created through DEFINE_(CACHE_)ALIGN_BUFFER are actually > pointers to the real underlying buffer. Using sizeof(...) is > not appropriate in this case. >=20 > Signed-off-by: Sam Edwards > Reviewed-by: Peng Fan Applied to u-boot/next, thanks! --=20 Tom --m+pz9A6iAkVC+mwE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmR4uGAACgkQFHw5/5Y0 tyx4wwv7BXTusKwIMaEyX0KBN9c/Eaymn4JVwIrPPEQe6o7rR7s24WwAnhOhg+XK 3oiJo2aa1lwmendAuRWSOOuf6EyJtLyWAcSncjQmGvTNXPcu/IFH5RBWIqxGHwrB tnrDbNSPS6n3cOwYlbN5aw/9ghPq6FtB0MMYrO0kSY6YPNqrbmmUvmf/xZwkDxqC 37RhHT7JJkqzhbkbdtqN7rBIpwgcZc5lyCTHaYgU7LJOMWSEqutoqN5NiA5fP1yi EwB+RNhloDfhCM26bPQQhnikoYOSa90s1cY/hXs3CNxyTCDp6VrHW65dYgk9hueo DNrKqZcHc7J8DyJooQL1FrzcKp3khOOZCeeKXRZVhfFHjrauhej1QCi0V09Xx9cq FFG7LUvOoEFaZXrSVSsxpJAPSbKXqLR5dJPei58yNWTKhvixYiTY0VXiZL8SdcZA uw3M+w7+/JvRUEfA8j+fiN+yRiJP3Hzlmen3pwYkprGJfeCRL7Ed3ibxTKv+PW3F y4aNI1+K =0dHk -----END PGP SIGNATURE----- --m+pz9A6iAkVC+mwE--