From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 949B62007D1EB for ; Thu, 14 Sep 2017 21:54:57 -0700 (PDT) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Sep 2017 21:57:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,396,1500966000"; d="scan'208";a="152114414" Received: from shwdeopenpsi014.ccr.corp.intel.com ([10.239.9.13]) by fmsmga006.fm.intel.com with ESMTP; 14 Sep 2017 21:57:55 -0700 From: Hao Wu To: edk2-devel@lists.01.org Cc: Hao Wu , Paulo Alcantara , Ruiyu Ni , Star Zeng , Eric Dong , Dandan Bi Date: Fri, 15 Sep 2017 12:57:46 +0800 Message-Id: <20170915045753.588-1-hao.a.wu@intel.com> X-Mailer: git-send-email 2.12.0.windows.1 Subject: [PATCH 0/7] MdeModulePkg/Udf: Code refinements X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2017 04:54:57 -0000 The series introduces the following code refinements for UdfDxe & PartitionDxe: a. Add checks to ensure no possible NULL pointer dereference b. Reslove operands of different size in bitwise operations c. Use compare operator for non-boolean comparisons d. Refine function description comments e. Refine local variable initialization f. Refine enum members naming style Cc: Paulo Alcantara Cc: Ruiyu Ni Cc: Star Zeng Cc: Eric Dong Cc: Dandan Bi Hao Wu (7): MdeModulePkg/UdfDxe: Add checks to ensure no possible NULL ptr deref MdeModulePkg/UdfDxe: Fix operands of different size in bitwise OP MdeModulePkg/UdfDxe: Use compare operator for non-boolean comparisons MdeModulePkg/Udf: Refine function description comments MdeModulePkg/UdfDxe: Avoid short (single character) variable name MdeModulePkg/Udf: Avoid declaring and initializing local GUID variable MdeModulePkg/UdfDxe: Refine enum member naming style MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c | 20 +- MdeModulePkg/Universal/Disk/UdfDxe/File.c | 5 +- MdeModulePkg/Universal/Disk/UdfDxe/FileName.c | 27 +- MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c | 483 +++++++++++++++----- MdeModulePkg/Universal/Disk/UdfDxe/Udf.h | 49 +- 5 files changed, 432 insertions(+), 152 deletions(-) -- 2.12.0.windows.1