* [PATCH v1 1/1] StandaloneMmPkg: Fix 'missing header' warning
@ 2019-11-21 15:38 Sami Mujawar
2019-11-21 15:53 ` [edk2-devel] " Philippe Mathieu-Daudé
2019-11-22 2:29 ` Yao, Jiewen
0 siblings, 2 replies; 3+ messages in thread
From: Sami Mujawar @ 2019-11-21 15:38 UTC (permalink / raw)
To: devel
Cc: Sami Mujawar, achin.gupta, jiewen.yao, supreeth.venkatesh,
Matteo.Carlini, Laura.Moretta, nd
The Basetools scripts have been updated to report
warnings if header files are not listed in the
[Sources] section of the inf files.
Update StandaloneMmCpu.inf to include the header
file StandaloneMmCpu.h to fix the warning.
CC: Achin Gupta <achin.gupta@arm.com>
CC: Jiewen Yao <jiewen.yao@intel.com>
CC: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
---
The changes can be seen at:
https://github.com/samimujawar/edk2/tree/696_stmm_fix_include_warning_v1
Notes:
v1:
- Fix missing header warnings [SAMI]
StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf
index 5cc4915806db72e36da6cec85d5f690c0c958f16..e8f0c97f4513dec261800f49571e02c9e1e427ce 100644
--- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf
+++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf
@@ -4,7 +4,7 @@
#
# Copyright (c) 2009, Apple Inc. All rights reserved.<BR>
# Copyright (c) 2016 HP Development Company, L.P.
-# Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.
+# Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@@ -21,6 +21,7 @@ [Defines]
[Sources]
StandaloneMmCpu.c
+ StandaloneMmCpu.h
EventHandle.c
[Packages]
--
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [edk2-devel] [PATCH v1 1/1] StandaloneMmPkg: Fix 'missing header' warning
2019-11-21 15:38 [PATCH v1 1/1] StandaloneMmPkg: Fix 'missing header' warning Sami Mujawar
@ 2019-11-21 15:53 ` Philippe Mathieu-Daudé
2019-11-22 2:29 ` Yao, Jiewen
1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-11-21 15:53 UTC (permalink / raw)
To: devel, sami.mujawar
Cc: achin.gupta, jiewen.yao, supreeth.venkatesh, Matteo.Carlini,
Laura.Moretta, nd
On 11/21/19 4:38 PM, Sami Mujawar wrote:
> The Basetools scripts have been updated to report
> warnings if header files are not listed in the
> [Sources] section of the inf files.
>
> Update StandaloneMmCpu.inf to include the header
> file StandaloneMmCpu.h to fix the warning.
>
> CC: Achin Gupta <achin.gupta@arm.com>
> CC: Jiewen Yao <jiewen.yao@intel.com>
> CC: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
> Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
> ---
>
> The changes can be seen at:
> https://github.com/samimujawar/edk2/tree/696_stmm_fix_include_warning_v1
>
> Notes:
> v1:
> - Fix missing header warnings [SAMI]
>
> StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf
> index 5cc4915806db72e36da6cec85d5f690c0c958f16..e8f0c97f4513dec261800f49571e02c9e1e427ce 100644
> --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf
> +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf
> @@ -4,7 +4,7 @@
> #
> # Copyright (c) 2009, Apple Inc. All rights reserved.<BR>
> # Copyright (c) 2016 HP Development Company, L.P.
> -# Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.
> +# Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.
> #
> # SPDX-License-Identifier: BSD-2-Clause-Patent
> #
> @@ -21,6 +21,7 @@ [Defines]
>
> [Sources]
> StandaloneMmCpu.c
> + StandaloneMmCpu.h
> EventHandle.c
>
> [Packages]
>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] StandaloneMmPkg: Fix 'missing header' warning
2019-11-21 15:38 [PATCH v1 1/1] StandaloneMmPkg: Fix 'missing header' warning Sami Mujawar
2019-11-21 15:53 ` [edk2-devel] " Philippe Mathieu-Daudé
@ 2019-11-22 2:29 ` Yao, Jiewen
1 sibling, 0 replies; 3+ messages in thread
From: Yao, Jiewen @ 2019-11-22 2:29 UTC (permalink / raw)
To: Sami Mujawar, devel@edk2.groups.io
Cc: achin.gupta@arm.com, supreeth.venkatesh@arm.com,
Matteo.Carlini@arm.com, Laura.Moretta@arm.com, nd@arm.com
Reviewed-by: Jiewen.yao@intel.com
> -----Original Message-----
> From: Sami Mujawar <sami.mujawar@arm.com>
> Sent: Thursday, November 21, 2019 11:38 PM
> To: devel@edk2.groups.io
> Cc: Sami Mujawar <sami.mujawar@arm.com>; achin.gupta@arm.com; Yao,
> Jiewen <jiewen.yao@intel.com>; supreeth.venkatesh@arm.com;
> Matteo.Carlini@arm.com; Laura.Moretta@arm.com; nd@arm.com
> Subject: [PATCH v1 1/1] StandaloneMmPkg: Fix 'missing header' warning
>
> The Basetools scripts have been updated to report
> warnings if header files are not listed in the
> [Sources] section of the inf files.
>
> Update StandaloneMmCpu.inf to include the header
> file StandaloneMmCpu.h to fix the warning.
>
> CC: Achin Gupta <achin.gupta@arm.com>
> CC: Jiewen Yao <jiewen.yao@intel.com>
> CC: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
> Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
> ---
>
> The changes can be seen at:
> https://github.com/samimujawar/edk2/tree/696_stmm_fix_include_warning_v
> 1
>
> Notes:
> v1:
> - Fix missing header warnings [SAMI]
>
> StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf
> | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git
> a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.i
> nf
> b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.i
> nf
> index
> 5cc4915806db72e36da6cec85d5f690c0c958f16..e8f0c97f4513dec261800f4957
> 1e02c9e1e427ce 100644
> ---
> a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.i
> nf
> +++
> b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.i
> nf
> @@ -4,7 +4,7 @@
> #
> # Copyright (c) 2009, Apple Inc. All rights reserved.<BR>
> # Copyright (c) 2016 HP Development Company, L.P.
> -# Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.
> +# Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.
> #
> # SPDX-License-Identifier: BSD-2-Clause-Patent
> #
> @@ -21,6 +21,7 @@ [Defines]
>
> [Sources]
> StandaloneMmCpu.c
> + StandaloneMmCpu.h
> EventHandle.c
>
> [Packages]
> --
> 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-22 2:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-21 15:38 [PATCH v1 1/1] StandaloneMmPkg: Fix 'missing header' warning Sami Mujawar
2019-11-21 15:53 ` [edk2-devel] " Philippe Mathieu-Daudé
2019-11-22 2:29 ` Yao, Jiewen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox