Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1708170lqg; Mon, 4 Mar 2024 00:52:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW9QTGfLtLanXFTmQvzMLYR6ES9PMsMWUHEAbNcnMIBbfVX7LYea3w/sU/r9QZuMQOP6evY4ZME7D3JCMT50CbIfOlq/JGZPhJry5JFNg== X-Google-Smtp-Source: AGHT+IEtU+v2ehtXXRuM6YZGGvcsWUlJVvBQ+hDm+PBTmrOhoWG08Ze0eIu+jNRxHfffU5NfCgcO X-Received: by 2002:a67:e445:0:b0:472:b953:de77 with SMTP id n5-20020a67e445000000b00472b953de77mr1042104vsm.20.1709542320850; Mon, 04 Mar 2024 00:52:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709542320; cv=pass; d=google.com; s=arc-20160816; b=VcePBMuxMv8ZwTLD7kCDAfldoBS388xMnGMqKYEth4bzZGjA2QHF4iNI+u45Ja1S59 XW6gDUmSxUISAhpOfoaqdkINZksbpyUz11PzbZnRjMD/S/poyUWYVCOyAWsc3Lm9acJn DakkGKLWvifazmdp9QkgYCGS/uAtEFAt1mNlrWxPJSPBGkzc+a1oQMFtcZ3nOYg/Tgy9 lm2yDx5vtL8RFsN0Et3akMJt1hmnrmjMTunUWN2qNUb0rAGVRaylbgCJzl2QAGNDtr+G FYOooiJu3d1B9ggInno4AtRHwggzgvVIwyi/GDzaJrTjCFGfohtqfkMCXeJ91yUTrioH dtdw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:cc:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Odocfm0u3PpyAHqHwIC7YFRnGsxFPKqdM0asfwqWiRk=; fh=12MwjekdAJpORx2C/bhalrvU6bIvDccq5nw1O+NhXsk=; b=iRY/aciGMru5FHkmneKigR3R2XsUi1FMGdzlpJ7qOC2dq9i2HgNQTMm40lYH1YMdqf LvHfTcih2PWuwcu9OxaBkwsWVWM7G/ZgnGL34ZvenJUCMcmtipbin292zk1vGMrX6rfi TuZra9ITGh0PDiyJFvxtgzXBXTAnZvBrHFv+lKoxZMQaGtJmT0LIEnMa/QkHZZiUGJ0W BaBFPP1S5+XY+xdI5obrxy5owW4EKnal4ylLrQxwWqqWfzjOZ2ZxX8gYAv+x+ZyWOZQq 2gl9/ubpU/uSb87AlC91mroDjplqyMViYVCVdwM62/AYKhg1EZuKSZ7/rfxmaoLdh96P S1VQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WnEnDnHr; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-90241-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90241-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z14-20020ac87f8e000000b0042ee65c815bsi3275293qtj.621.2024.03.04.00.52.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 00:52:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90241-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WnEnDnHr; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-90241-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90241-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 873BF1C2130B for ; Mon, 4 Mar 2024 08:52:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 81C9E21340; Mon, 4 Mar 2024 08:44:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="WnEnDnHr" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A5FA1AAD7; Mon, 4 Mar 2024 08:44:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709541891; cv=none; b=KY7BbHucRQgMxs1Ip24o8CNQBokMlmNo7SlnFjFanp7UA5DeFa5XP+xiAFqL00chiGsIXtq6q6VoRzcxnbegI18mRgPmrIKkMYKlN3UhpdEC+luoSTzmCyaWIhqeddcGIgfHn4cTr0fEMyqtG9A9cwhVjhd3CqQc8Vdlnbn+wZQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709541891; c=relaxed/simple; bh=aQdBSLlALLw63VO8L/jjBkWYw2D61GkjyZobEivi5pg=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=jZJYmkVLYxpDk8igGUJlZkvCydPR3VREP9zsvN2eCZivVF7V7aINFti3Qj3jFfWiZTZAlzLiDSKigfnAqNbnV1ilr+PGbcfAgozAzs0vIdG7AJkXqtbF0j/m+Z0IYJNYPPXc+DJTMK913lMMI/K9udiOE1JN3jYBaCTjDo7ywhM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=WnEnDnHr; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1709541888; bh=aQdBSLlALLw63VO8L/jjBkWYw2D61GkjyZobEivi5pg=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=WnEnDnHr/h/QXOlI26XCkJxch5TkTF9EBxc6HF62ugTISIN5nv5ptzrwQOqtte1IP UzYGGsH7s1getc6wfxdjsP1ksdp2eXXMUI6dWwBRDuGWRVz+AszYdf4eqhlRYl6qVw cOuDy4kO2l+xUd2P0FheHhX54e6BJe4/5A1WjOlw5EdB5hIHqdBvmrB2x++GVReO+l dkepW+mNmAQ9CcmUJ4Tc/D4bxuWqERG8byJ11ETfccLyc0lAIJkVk8caU7q1/Gypn6 J31c8g4WTtkPnuBAh1ekFrod/KKkWBwWKn6vOa703G00ZHxzlX6VDXMVbOxFwiAjr/ h2ze1Ljv0lSEg== Received: from [10.193.1.1] (broslavsky.collaboradmins.com [68.183.210.73]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 1441F3782076; Mon, 4 Mar 2024 08:44:39 +0000 (UTC) Message-ID: Date: Mon, 4 Mar 2024 13:44:54 +0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: Muhammad Usama Anjum , James Smart , Dick Kennedy , "James E.J. Bottomley" , "Martin K. Petersen" , kernel@collabora.com, kernel-janitors@vger.kernel.org, James Smart , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: lpfc: correct size for cmdwqe/rspwqe for memset To: Justin Tee , Christophe JAILLET References: <20240301144434.2809483-1-usama.anjum@collabora.com> <5a0172a7-1a02-47d4-86c7-f5fd22e9767c@wanadoo.fr> Content-Language: en-US From: Muhammad Usama Anjum In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I'll send v2. On 3/1/24 11:59 PM, Justin Tee wrote: > Hi Muhammad, > > Agreed with Christophe's comment. > > memset(cmdwqe, 0, sizeof(*cmdwqe)); > memset(rspwqe, 0, sizeof(*rspwqe)); > > Thanks, > Justin > -- BR, Muhammad Usama Anjum