From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=dandan.bi@intel.com; receiver=edk2-devel@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 DFFD92118DC4D for ; Wed, 6 Jun 2018 05:50:28 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jun 2018 05:50:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,483,1520924400"; d="scan'208";a="205791629" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by orsmga004.jf.intel.com with ESMTP; 06 Jun 2018 05:50:27 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Alexei.Fedorov@arm.com, Sami Mujawar , Evan Lloyd , Jaben Carsey , Ruiyu Ni Date: Wed, 6 Jun 2018 20:49:50 +0800 Message-Id: <20180606124952.77236-1-dandan.bi@intel.com> X-Mailer: git-send-email 2.14.3.windows.1 Subject: [patch V2 0/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2018 12:50:30 -0000 ECC tool report some coding style issue in UefiShellAcpiViewCommandLib. This patch series is to clean these issues. V2: Remove the updates of guard macros in header files in patch 2. Cc: Sami Mujawar Cc: Evan Lloyd Cc: Jaben Carsey Cc: Ruiyu Ni Dandan Bi (2): ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues .../UefiShellAcpiViewCommandLib/AcpiParser.c | 174 +++++++++------- .../UefiShellAcpiViewCommandLib/AcpiParser.h | 223 ++++++++++++--------- .../UefiShellAcpiViewCommandLib/AcpiTableParser.c | 77 +++---- .../UefiShellAcpiViewCommandLib/AcpiTableParser.h | 39 ++-- .../Library/UefiShellAcpiViewCommandLib/AcpiView.c | 113 +++++++---- .../Library/UefiShellAcpiViewCommandLib/AcpiView.h | 69 ++++--- .../Parsers/Bgrt/BgrtParser.c | 12 +- .../Parsers/Dbg2/Dbg2Parser.c | 34 ++-- .../Parsers/Dsdt/DsdtParser.c | 7 +- .../Parsers/Fadt/FadtParser.c | 68 +++++-- .../Parsers/Gtdt/GtdtParser.c | 57 ++++-- .../Parsers/Iort/IortParser.c | 159 ++++++++------- .../Parsers/Madt/MadtParser.c | 67 ++++--- .../Parsers/Mcfg/McfgParser.c | 18 +- .../Parsers/Rsdp/RsdpParser.c | 42 ++-- .../Parsers/Slit/SlitParser.c | 61 +++--- .../Parsers/Spcr/SpcrParser.c | 42 ++-- .../Parsers/Srat/SratParser.c | 82 +++++--- .../Parsers/Ssdt/SsdtParser.c | 7 +- .../Parsers/Xsdt/XsdtParser.c | 11 +- .../UefiShellAcpiViewCommandLib.c | 18 +- .../UefiShellAcpiViewCommandLib.h | 4 +- .../UefiShellAcpiViewCommandLib.inf | 3 + 23 files changed, 823 insertions(+), 564 deletions(-) -- 2.14.3.windows.1