[edk2-devel] [PATCH] IntelSiliconPkg: Issue reported by ECC in edk2-platforms.

GuoMinJ posted 1 patch 4 years, 2 months ago
Failed in applying to current master (apply log)
.../Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h  | 6 +++---
.../Library/BaseConfigBlockLib/BaseConfigBlockLib.c         | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
[edk2-devel] [PATCH] IntelSiliconPkg: Issue reported by ECC in edk2-platforms.
Posted by GuoMinJ 4 years, 2 months ago
https://bugzilla.tianocore.org/show_bug.cgi?id=2518

ECC need '.' character at the end of line.

Signed-off-by: GuoMinJ <newexplorerj@gmail.com>
---
 .../Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h  | 6 +++---
 .../Library/BaseConfigBlockLib/BaseConfigBlockLib.c         | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Silicon/Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h b/Silicon/Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h
index 99b8ae4b5a..37a3968168 100644
--- a/Silicon/Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h
+++ b/Silicon/Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h
@@ -10,7 +10,7 @@
 #define _CONFIG_BLOCK_LIB_H_
 
 /**
-  Create config block table
+  Create config block table.
 
   @param[in]     TotalSize                    - Max size to be allocated for the Config Block Table
   @param[out]    ConfigBlockTableAddress      - On return, points to a pointer to the beginning of Config Block Table Address
@@ -27,7 +27,7 @@ CreateConfigBlockTable (
   );
 
 /**
-  Add config block into config block table structure
+  Add config block into config block table structure.
 
   @param[in]     ConfigBlockTableAddress      - A pointer to the beginning of Config Block Table Address
   @param[out]    ConfigBlockAddress           - On return, points to a pointer to the beginning of Config Block Address
@@ -44,7 +44,7 @@ AddConfigBlock (
   );
 
 /**
-  Retrieve a specific Config Block data by GUID
+  Retrieve a specific Config Block data by GUID.
 
   @param[in]      ConfigBlockTableAddress      - A pointer to the beginning of Config Block Table Address
   @param[in]      ConfigBlockGuid              - A pointer to the GUID uses to search specific Config Block
diff --git a/Silicon/Intel/IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLib.c b/Silicon/Intel/IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLib.c
index 33e0c81e9d..c89699ea46 100644
--- a/Silicon/Intel/IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLib.c
+++ b/Silicon/Intel/IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLib.c
@@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #include <Library/DebugLib.h>
 
 /**
-  Create config block table
+  Create config block table.
 
   @param[in]     TotalSize                    - Max size to be allocated for the Config Block Table
   @param[out]    ConfigBlockTableAddress      - On return, points to a pointer to the beginning of Config Block Table Address
@@ -51,7 +51,7 @@ CreateConfigBlockTable (
 }
 
 /**
-  Add config block into config block table structure
+  Add config block into config block table structure.
 
   @param[in]     ConfigBlockTableAddress      - A pointer to the beginning of Config Block Table Address
   @param[out]    ConfigBlockAddress           - On return, points to a pointer to the beginning of Config Block Address
@@ -94,7 +94,7 @@ AddConfigBlock (
 }
 
 /**
-  Retrieve a specific Config Block data by GUID
+  Retrieve a specific Config Block data by GUID.
 
   @param[in]      ConfigBlockTableAddress      - A pointer to the beginning of Config Block Table Address
   @param[in]      ConfigBlockGuid              - A pointer to the GUID uses to search specific Config Block
-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#54517): https://edk2.groups.io/g/devel/message/54517
Mute This Topic: https://groups.io/mt/71318791/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH] IntelSiliconPkg: Issue reported by ECC in edk2-platforms.
Posted by Zhang, Shenglei 4 years, 1 month ago
Please update the subject. " IntelSiliconPkg: Add periods in comments"
With this updated, Reviewed-by: Shenglei Zhang <shenglei.zhang@intel.com>

Thanks,
Shenglei

> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> GuoMinJ
> Sent: Sunday, February 16, 2020 12:43 PM
> To: devel@edk2.groups.io
> Cc: GuoMinJ <newexplorerj@gmail.com>
> Subject: [edk2-devel] [PATCH] IntelSiliconPkg: Issue reported by ECC in edk2-
> platforms.
> 
> https://bugzilla.tianocore.org/show_bug.cgi?id=2518
> 
> ECC need '.' character at the end of line.
> 
> Signed-off-by: GuoMinJ <newexplorerj@gmail.com>
> ---
>  .../Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h  | 6 +++---
>  .../Library/BaseConfigBlockLib/BaseConfigBlockLib.c         | 6 +++---
>  2 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/Silicon/Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h
> b/Silicon/Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h
> index 99b8ae4b5a..37a3968168 100644
> --- a/Silicon/Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h
> +++ b/Silicon/Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h
> @@ -10,7 +10,7 @@
>  #define _CONFIG_BLOCK_LIB_H_
> 
>  /**
> -  Create config block table
> +  Create config block table.
> 
>    @param[in]     TotalSize                    - Max size to be allocated for the Config
> Block Table
>    @param[out]    ConfigBlockTableAddress      - On return, points to a pointer
> to the beginning of Config Block Table Address
> @@ -27,7 +27,7 @@ CreateConfigBlockTable (
>    );
> 
>  /**
> -  Add config block into config block table structure
> +  Add config block into config block table structure.
> 
>    @param[in]     ConfigBlockTableAddress      - A pointer to the beginning of
> Config Block Table Address
>    @param[out]    ConfigBlockAddress           - On return, points to a pointer to
> the beginning of Config Block Address
> @@ -44,7 +44,7 @@ AddConfigBlock (
>    );
> 
>  /**
> -  Retrieve a specific Config Block data by GUID
> +  Retrieve a specific Config Block data by GUID.
> 
>    @param[in]      ConfigBlockTableAddress      - A pointer to the beginning of
> Config Block Table Address
>    @param[in]      ConfigBlockGuid              - A pointer to the GUID uses to
> search specific Config Block
> diff --git
> a/Silicon/Intel/IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLi
> b.c
> b/Silicon/Intel/IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLi
> b.c
> index 33e0c81e9d..c89699ea46 100644
> ---
> a/Silicon/Intel/IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLi
> b.c
> +++
> b/Silicon/Intel/IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLi
> b.c
> @@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
>  #include <Library/DebugLib.h>
> 
>  /**
> -  Create config block table
> +  Create config block table.
> 
>    @param[in]     TotalSize                    - Max size to be allocated for the Config
> Block Table
>    @param[out]    ConfigBlockTableAddress      - On return, points to a pointer
> to the beginning of Config Block Table Address
> @@ -51,7 +51,7 @@ CreateConfigBlockTable (
>  }
> 
>  /**
> -  Add config block into config block table structure
> +  Add config block into config block table structure.
> 
>    @param[in]     ConfigBlockTableAddress      - A pointer to the beginning of
> Config Block Table Address
>    @param[out]    ConfigBlockAddress           - On return, points to a pointer to
> the beginning of Config Block Address
> @@ -94,7 +94,7 @@ AddConfigBlock (
>  }
> 
>  /**
> -  Retrieve a specific Config Block data by GUID
> +  Retrieve a specific Config Block data by GUID.
> 
>    @param[in]      ConfigBlockTableAddress      - A pointer to the beginning of
> Config Block Table Address
>    @param[in]      ConfigBlockGuid              - A pointer to the GUID uses to
> search specific Config Block
> --
> 2.17.1
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#55469): https://edk2.groups.io/g/devel/message/55469
Mute This Topic: https://groups.io/mt/71318791/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH] IntelSiliconPkg: Issue reported by ECC in edk2-platforms.
Posted by Liming Gao 4 years, 1 month ago
This patch is for [edk2-platform]. So, please generate the patch with it. Below command can be used. 

git format-patch -1 --subject-prefix="edk2-platform][patch"

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Zhang, Shenglei
> Sent: Thursday, March 5, 2020 1:05 PM
> To: devel@edk2.groups.io; newexplorerj@gmail.com
> Subject: Re: [edk2-devel] [PATCH] IntelSiliconPkg: Issue reported by ECC in edk2-platforms.
> 
> Please update the subject. " IntelSiliconPkg: Add periods in comments"
> With this updated, Reviewed-by: Shenglei Zhang <shenglei.zhang@intel.com>
> 
> Thanks,
> Shenglei
> 
> > -----Original Message-----
> > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> > GuoMinJ
> > Sent: Sunday, February 16, 2020 12:43 PM
> > To: devel@edk2.groups.io
> > Cc: GuoMinJ <newexplorerj@gmail.com>
> > Subject: [edk2-devel] [PATCH] IntelSiliconPkg: Issue reported by ECC in edk2-
> > platforms.
> >
> > https://bugzilla.tianocore.org/show_bug.cgi?id=2518
> >
> > ECC need '.' character at the end of line.
> >
> > Signed-off-by: GuoMinJ <newexplorerj@gmail.com>
> > ---
> >  .../Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h  | 6 +++---
> >  .../Library/BaseConfigBlockLib/BaseConfigBlockLib.c         | 6 +++---
> >  2 files changed, 6 insertions(+), 6 deletions(-)
> >
> > diff --git a/Silicon/Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h
> > b/Silicon/Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h
> > index 99b8ae4b5a..37a3968168 100644
> > --- a/Silicon/Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h
> > +++ b/Silicon/Intel/IntelSiliconPkg/Include/Library/ConfigBlockLib.h
> > @@ -10,7 +10,7 @@
> >  #define _CONFIG_BLOCK_LIB_H_
> >
> >  /**
> > -  Create config block table
> > +  Create config block table.
> >
> >    @param[in]     TotalSize                    - Max size to be allocated for the Config
> > Block Table
> >    @param[out]    ConfigBlockTableAddress      - On return, points to a pointer
> > to the beginning of Config Block Table Address
> > @@ -27,7 +27,7 @@ CreateConfigBlockTable (
> >    );
> >
> >  /**
> > -  Add config block into config block table structure
> > +  Add config block into config block table structure.
> >
> >    @param[in]     ConfigBlockTableAddress      - A pointer to the beginning of
> > Config Block Table Address
> >    @param[out]    ConfigBlockAddress           - On return, points to a pointer to
> > the beginning of Config Block Address
> > @@ -44,7 +44,7 @@ AddConfigBlock (
> >    );
> >
> >  /**
> > -  Retrieve a specific Config Block data by GUID
> > +  Retrieve a specific Config Block data by GUID.
> >
> >    @param[in]      ConfigBlockTableAddress      - A pointer to the beginning of
> > Config Block Table Address
> >    @param[in]      ConfigBlockGuid              - A pointer to the GUID uses to
> > search specific Config Block
> > diff --git
> > a/Silicon/Intel/IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLi
> > b.c
> > b/Silicon/Intel/IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLi
> > b.c
> > index 33e0c81e9d..c89699ea46 100644
> > ---
> > a/Silicon/Intel/IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLi
> > b.c
> > +++
> > b/Silicon/Intel/IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLi
> > b.c
> > @@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
> >  #include <Library/DebugLib.h>
> >
> >  /**
> > -  Create config block table
> > +  Create config block table.
> >
> >    @param[in]     TotalSize                    - Max size to be allocated for the Config
> > Block Table
> >    @param[out]    ConfigBlockTableAddress      - On return, points to a pointer
> > to the beginning of Config Block Table Address
> > @@ -51,7 +51,7 @@ CreateConfigBlockTable (
> >  }
> >
> >  /**
> > -  Add config block into config block table structure
> > +  Add config block into config block table structure.
> >
> >    @param[in]     ConfigBlockTableAddress      - A pointer to the beginning of
> > Config Block Table Address
> >    @param[out]    ConfigBlockAddress           - On return, points to a pointer to
> > the beginning of Config Block Address
> > @@ -94,7 +94,7 @@ AddConfigBlock (
> >  }
> >
> >  /**
> > -  Retrieve a specific Config Block data by GUID
> > +  Retrieve a specific Config Block data by GUID.
> >
> >    @param[in]      ConfigBlockTableAddress      - A pointer to the beginning of
> > Config Block Table Address
> >    @param[in]      ConfigBlockGuid              - A pointer to the GUID uses to
> > search specific Config Block
> > --
> > 2.17.1
> >
> >
> >
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#55471): https://edk2.groups.io/g/devel/message/55471
Mute This Topic: https://groups.io/mt/71318791/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-