[edk2] [PATCH] ShellPkg: Update header file including style

Song, BinX posted 1 patch 6 years, 8 months ago
Failed in applying to current master (apply log)
ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/EventLogInfo.c  | 2 +-
ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c | 2 +-
ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c     | 2 +-
ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c    | 2 +-
ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.c    | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
[edk2] [PATCH] ShellPkg: Update header file including style
Posted by Song, BinX 6 years, 8 months ago
- Update header file including style to avoid MSDN C4464 warning

Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bell Song <binx.song@intel.com>
---
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/EventLogInfo.c  | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c     | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c    | 2 +-
 ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.c    | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/EventLogInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/EventLogInfo.c
index 50ba048..b40276d 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/EventLogInfo.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/EventLogInfo.c
@@ -12,7 +12,7 @@
 
 **/
 
-#include "../UefiShellDebug1CommandsLib.h"
+#include "UefiShellDebug1CommandsLib.h"
 #include "PrintInfo.h"
 #include "QueryTable.h"
 #include "EventLogInfo.h"
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c
index 6920263..edfdcc9 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosView.c
@@ -13,7 +13,7 @@
 **/
     
 
-#include "../UefiShellDebug1CommandsLib.h"
+#include "UefiShellDebug1CommandsLib.h"
 #include <Guid/SmBios.h>
 #include "LibSmbiosView.h"
 #include "SmbiosView.h"
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
index 038f111..7a75554 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
@@ -14,7 +14,7 @@
 
 **/
 
-#include "../UefiShellDebug1CommandsLib.h"
+#include "UefiShellDebug1CommandsLib.h"
 #include "PrintInfo.h"
 #include "LibSmbiosView.h"
 #include "QueryTable.h"
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
index afea429..3c561ad 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
@@ -14,7 +14,7 @@
 
 **/
 
-#include "../UefiShellDebug1CommandsLib.h"
+#include "UefiShellDebug1CommandsLib.h"
 #include "QueryTable.h"
 #include "PrintInfo.h"
 
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.c
index a5b16fe..6e7c763 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.c
@@ -13,7 +13,7 @@
 
 **/
 
-#include "../UefiShellDebug1CommandsLib.h"
+#include "UefiShellDebug1CommandsLib.h"
 #include "LibSmbiosView.h"
 #include "SmbiosView.h"
 #include "PrintInfo.h"
-- 
2.10.2.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH] ShellPkg: Update header file including style
Posted by Ni, Ruiyu 6 years, 8 months ago
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

Thanks/Ray

> -----Original Message-----
> From: Song, BinX
> Sent: Thursday, August 3, 2017 10:45 AM
> To: edk2-devel@lists.01.org
> Cc: Carsey, Jaben <jaben.carsey@intel.com>; Ni, Ruiyu <ruiyu.ni@intel.com>
> Subject: [PATCH] ShellPkg: Update header file including style
> 
> - Update header file including style to avoid MSDN C4464 warning
> 
> Cc: Jaben Carsey <jaben.carsey@intel.com>
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Bell Song <binx.song@intel.com>
> ---
> 
> ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/EventLogInfo.c
> | 2 +-
> ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosVie
> w.c | 2 +-
>  ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c     |
> 2 +-
>  ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
> | 2 +-
>  ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.c
> | 2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/EventLogInf
> o.c
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/EventLogInf
> o.c
> index 50ba048..b40276d 100644
> ---
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/EventLogInf
> o.c
> +++
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/EventLogInf
> +++ o.c
> @@ -12,7 +12,7 @@
> 
>  **/
> 
> -#include "../UefiShellDebug1CommandsLib.h"
> +#include "UefiShellDebug1CommandsLib.h"
>  #include "PrintInfo.h"
>  #include "QueryTable.h"
>  #include "EventLogInfo.h"
> diff --git
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosVi
> ew.c
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosVi
> ew.c
> index 6920263..edfdcc9 100644
> ---
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosVi
> ew.c
> +++
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/LibSmbiosVi
> +++ ew.c
> @@ -13,7 +13,7 @@
>  **/
> 
> 
> -#include "../UefiShellDebug1CommandsLib.h"
> +#include "UefiShellDebug1CommandsLib.h"
>  #include <Guid/SmBios.h>
>  #include "LibSmbiosView.h"
>  #include "SmbiosView.h"
> diff --git
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
> index 038f111..7a75554 100644
> ---
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
> +++
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
> @@ -14,7 +14,7 @@
> 
>  **/
> 
> -#include "../UefiShellDebug1CommandsLib.h"
> +#include "UefiShellDebug1CommandsLib.h"
>  #include "PrintInfo.h"
>  #include "LibSmbiosView.h"
>  #include "QueryTable.h"
> diff --git
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.
> c
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.
> c
> index afea429..3c561ad 100644
> ---
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.
> c
> +++
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.
> +++ c
> @@ -14,7 +14,7 @@
> 
>  **/
> 
> -#include "../UefiShellDebug1CommandsLib.h"
> +#include "UefiShellDebug1CommandsLib.h"
>  #include "QueryTable.h"
>  #include "PrintInfo.h"
> 
> diff --git
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView
> .c
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView
> .c
> index a5b16fe..6e7c763 100644
> ---
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView
> .c
> +++
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.
> +++ c
> @@ -13,7 +13,7 @@
> 
>  **/
> 
> -#include "../UefiShellDebug1CommandsLib.h"
> +#include "UefiShellDebug1CommandsLib.h"
>  #include "LibSmbiosView.h"
>  #include "SmbiosView.h"
>  #include "PrintInfo.h"
> --
> 2.10.2.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel