From nobody Mon Dec 23 05:12:50 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 152006228821269.27880309401428; Fri, 2 Mar 2018 23:31:28 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 339FC2250EDFC; Fri, 2 Mar 2018 23:25:16 -0800 (PST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 261C22250EDE2 for ; Fri, 2 Mar 2018 23:25:13 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2018 23:31:23 -0800 Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.158.46]) by fmsmga002.fm.intel.com with ESMTP; 02 Mar 2018 23:31:22 -0800 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,416,1515484800"; d="scan'208";a="24814786" From: Star Zeng To: edk2-devel@lists.01.org Date: Sat, 3 Mar 2018 15:31:20 +0800 Message-Id: <1520062281-47852-1-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 Subject: [edk2] [PATCH] MdeModulePkg UsbMass: Correct comment about TPL for BLOCK IO APIs X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ruiyu Ni , Star Zeng MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Current BLOCK IO API code is using TPL_CALLBACK, but comment is saying TPL_NOTIFY. Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng Reviewed-by: Ruiyu Ni --- MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c b/MdeModu= lePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c index bb292ed3eba8..448bcc2f80ac 100644 --- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c +++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c @@ -60,7 +60,7 @@ UsbMassReset ( EFI_STATUS Status; =20 // - // Raise TPL to TPL_NOTIFY to serialize all its operations + // Raise TPL to TPL_CALLBACK to serialize all its operations // to protect shared data structures. // OldTpl =3D gBS->RaiseTPL (TPL_CALLBACK); @@ -114,7 +114,7 @@ UsbMassReadBlocks ( UINTN TotalBlock; =20 // - // Raise TPL to TPL_NOTIFY to serialize all its operations + // Raise TPL to TPL_CALLBACK to serialize all its operations // to protect shared data structures. // OldTpl =3D gBS->RaiseTPL (TPL_CALLBACK); @@ -230,7 +230,7 @@ UsbMassWriteBlocks ( UINTN TotalBlock; =20 // - // Raise TPL to TPL_NOTIFY to serialize all its operations + // Raise TPL to TPL_CALLBACK to serialize all its operations // to protect shared data structures. // OldTpl =3D gBS->RaiseTPL (TPL_CALLBACK); --=20 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel