Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp503991lqg; Fri, 1 Mar 2024 11:33:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUtzMcRQeWFcEfqbGolngYiqcebNCUkWHvlHxXlOZtCpldrQ1SPWch/ilLejg5pR6TQIEojlzdK4i+YJ/YBcjgTEGbt0Rbv0AnOPQkZEw== X-Google-Smtp-Source: AGHT+IEXXiNzkhmRnejQ+GAOks4kIaTwBpmpo2qtY4idaBnbVD4bgJfajjH/c793ETxdTFdp0Vzv X-Received: by 2002:a05:6808:10c5:b0:3c1:c3b4:c722 with SMTP id s5-20020a05680810c500b003c1c3b4c722mr3162274ois.2.1709321611480; Fri, 01 Mar 2024 11:33:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709321611; cv=pass; d=google.com; s=arc-20160816; b=F7s2EC0DZtf8vrguf+Lveko6GmUXMpjji4lyJes1uTFh+dKpPifH2/rX5pz18iA2g4 Zs6MobWEgh35u5McvPvj9aU187BvaD198pqGCpmPO7BWjOb31N2z+tdNNLQIi5Ae0iOW DxVlOFNHFZuTJhM/V2zP2D5MXa7KCTpjwnB55/UCP7R3JhVju0/Rmdxj98V8cIC+1fqN 2HgvjPO2p48htbDFbiWnQAqgBY7nbMri5zqCRskBdDXCyebcB782rakeet3x7D+TcKbb FbEX7KgelEoEcEfG5yUPyT/gtxa3lRlfNZpV0u80gd0pU9/cuw9GtL8bQ9i3/jyxWWFZ TcvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=SE40B9hgoMxl2rpx1CQNiiNwATV4tS/ycE89d3SLnCQ=; fh=JkBc5qhMJQaOGQIt4RyUi6scfbE0sY3WJMqdAgN9T9s=; b=PUzkh3xaVo5IweMle/2+4kEsEJzu2igEEgBKlj6p4EkoOedy3l1hHr/fuvrs6ZYJBT Uta2F2E1hwNn1E3BMGgkZ7SfCv0srrONkG7+KU8FYheRLP7RjMOL+qUnClQ/cssrxYBp 62kWXJoUvPikqFzT1xBfDE41IiHTqBpfudpWP0UA/puH1J/04CHhtPWrOV3+gL4DQdne bznyaO5z9uPvHe7yxoAery9QWDjzJmalhew5l7lMdOfnvmmbxrX9xTFESjBIoTvtKZHb oIwh+Fevuy7jk6eL2+1cq1f8mmxT7s6BfFKb5/D4ffiWFIb6JgVnO9TyMk4oKKS97EP/ Iusw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="X0oWY/3C"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l6-20020a63ba46000000b005dc8372021bsi4100167pgu.464.2024.03.01.11.33.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 11:33:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="X0oWY/3C"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7CEE6B26EBB for ; Fri, 1 Mar 2024 19:05:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CD773A1C2; Fri, 1 Mar 2024 19:03:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="X0oWY/3C" Received: from mail-oo1-f48.google.com (mail-oo1-f48.google.com [209.85.161.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBE7D39AF3; Fri, 1 Mar 2024 19:03:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709319788; cv=none; b=gjDhoudo/XOCAU4qT2Tt5UvzezllSl5TyMqEUNtMz2ladWfkZmVqqOrKnNgRGl1E4uami6ITxkjBTuSoy4gjz0eXnX4GbLG4bLgbm5jjYzcyDbqVQoTo26NabtXulOU3wbhS3FPOaBYDAjFeA3Nk2+o/0cT3sa0A1cgUulKgJrI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709319788; c=relaxed/simple; bh=51tp/Bjz8IURQUYarrI2wOwDWIoS+kIinrfe1M6PZJE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ebhgi7Mv5n94Ghgd5ToSGD5Mq+IAhJeUWf+EC9MfV1D7IMOqpY2o7R0a7P7ME729tpgGpM+gsPDE8Z7p5JuJ9wM30AdQPt8vjVdQEBQg9EYV5jiQWscYVbYxxWlEjn8AQdkbCUaHYW0vVY6LrPZRzEpq/8z9Sv7QF/rOTmJKYjg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=X0oWY/3C; arc=none smtp.client-ip=209.85.161.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f48.google.com with SMTP id 006d021491bc7-5a10f19d4a0so18432eaf.0; Fri, 01 Mar 2024 11:03:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709319786; x=1709924586; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SE40B9hgoMxl2rpx1CQNiiNwATV4tS/ycE89d3SLnCQ=; b=X0oWY/3CkECWwnOG0ccbPGnVVloa5vNvNGi8Fe6n8e18tYFVunjMP0dIMUyBH/9Jb9 w4yPp3Gx9oj3tEV7IDQgK7uMsry9A1PbZqNjQDezTiLA3o1xCyp9B4G3t05YFQsMjO9+ 5jFcRwpig34SoiJwVaqm2sqYDCPfUlkogiXhfMsQfmdNKDddaVkYFDx+lprYSufbDknF 2b+gz6wf0cV+4Beeh6ImITJrjBe4EJ3x2ziH4U8Tnq4SxFsSFkOogH33TQPI+BTMKRqp Hj3M9DMOlnFZikMJJk6hpyMlSzEK39S3qaVq86tDRUkSJmjVjtOdYSuhKHRZXZiuVFXS OogA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709319786; x=1709924586; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SE40B9hgoMxl2rpx1CQNiiNwATV4tS/ycE89d3SLnCQ=; b=MnEAecrv5FyKNvUWKZ9vTW6M870pmCm1f39lAMbZmtkmEXTbHAFhtBBubolyAtmB96 IiSH12kgAsEQr+sPbtP/xWcrcZEpdu+qmQkqHKfE8vKI0Q8tl4UJ96qy6oEcWkBubuxw s3L1RUZ9aNyq4Q8S1YS/iah14LacPujFKTS6noa8eiBLG+5vvRHkvNoPI8iTR58nRkjW ymI0I96goYkga4kipFtKwZXwa2nd8OYjA/mpcM2OW/060ZXpmKh0T6tvNUqONn6xKATV WI1nPgZF571AGDn5kBXY0xj2fXQodLaHIy1jxDOfjl0DrKkKazEWDWR+NcGjvnwiJKzS 0lmA== X-Forwarded-Encrypted: i=1; AJvYcCVQ393JaTNaJWLqcjuQJaJrX1nlSqsRhV4N0lzazY27RXld0GqW+/xGfM3FC3putXcec7R2/pWRVPz25rf2hbSHq3U0GrVEh4vKd8v29S/y7IySoB1yvC6BquVfJU55u3THXQKXoiyx/JCXe0m0JJYUI4t8o5gDkQ4WnoTMbWRIyKL1s5zWihXPFA== X-Gm-Message-State: AOJu0YxKmdsEq6ufCAFr1qBHj+7yETaYMa+vwASDVunsPKFyDyiIOzAG /dGCLuOeyLM816rqapGZXw6dJWocIZEYolig2UbShjTHroh/ykHji5aitk5+GaJqpB+TPwfEw5C 7hvZYPZE74k1qyzc3l+0hZhRe9L4= X-Received: by 2002:a05:6358:88f:b0:17b:6b42:8d9e with SMTP id m15-20020a056358088f00b0017b6b428d9emr3158417rwj.0.1709319785941; Fri, 01 Mar 2024 11:03:05 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240301144458.2810597-1-usama.anjum@collabora.com> In-Reply-To: <20240301144458.2810597-1-usama.anjum@collabora.com> From: Justin Tee Date: Fri, 1 Mar 2024 11:02:55 -0800 Message-ID: Subject: Re: [PATCH] scsi: lpfc: correct size for wqe for memset To: Muhammad Usama Anjum Cc: James Smart , Dick Kennedy , Justin Tee , "James E.J. Bottomley" , "Martin K. Petersen" , Hannes Reinecke , kernel@collabora.com, kernel-janitors@vger.kernel.org, James Smart , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Hi Muhammad, > - memset(wqe, 0, sizeof(union lpfc_wqe)); > + memset(wqe, 0, sizeof(union lpfc_wqe128)); How about instead memset(wqe, 0, sizeof(*wqe)); Thanks, Justin