<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/RedfishPkg/Library/HiiUtilityLib, branch dependabot/github_actions/actions/setup-python-7</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-06-29T16:41:24+00:00</updated>
<entry>
<title>RedfishPkg: Remove unnecessary Depex section in library modules</title>
<updated>2026-06-29T16:41:24+00:00</updated>
<author>
<name>Qihang Gao</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2026-04-29T07:33:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=97f069bf30dc821ae2c8f90d2f9c741ad4ee9247'/>
<id>urn:sha1:97f069bf30dc821ae2c8f90d2f9c741ad4ee9247</id>
<content type='text'>
Libraries that may be consumed by UEFI_DRIVER should not have depex
section for UEFI_DRIVER. The INF specification said: If the Module is
a Library, then a [Depex] section is optional. Regarding HiiUtilityLib,
RedfishDebugLib and RedfishHttpLib, they don't have additional dependence,
so the Depex sections should be removed to ensure no adverse impact on
the UEFI_DRIVER.

Signed-off-by: Qihang Gao &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: Replace include guards with #pragma once</title>
<updated>2026-02-23T21:01:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-02-03T18:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6181c85fa98fd1ea9e7292ad5390a2ec4f1da318'/>
<id>urn:sha1:6181c85fa98fd1ea9e7292ad5390a2ec4f1da318</id>
<content type='text'>
Replace traditional `#ifndef`/`#define`/`#endif` include guards with
`#pragma` once.

`#pragma once` is a widely supported preprocessor directive that
prevents header files from being included multiple times. It is
supported by all toolchains used to build edk2: GCC, Clang/LLVM, and
MSVC.

Compared to macro-based include guards, `#pragma once`:

- Eliminates the risk of macro name collisions or copy/paste errors
  where two headers inadvertently use the same guard macro.
- Eliminate inconsistency in the way include guard macros are named
  (e.g., some files use `__FILE_H__`, others use `FILE_H_`, etc.).
- Reduces boilerplate (three lines replaced by one).
- Avoids polluting the macro namespace with guard symbols.
- Can improve build times as the preprocessor can skip re-opening the
  file entirely, rather than re-reading it to find the matching
  `#endif` ("multiple-include optimization").
  - Note that some compilers may already optimize traditional include
    guards, by recognzining the idiomatic pattern.

This change is made acknowledging that overall portability of the
code will technically be reduced, as `#pragma once` is not part of the
C/C++ standards.

However, this is considered acceptable given:

1. edk2 already defines a subset of supported compilers in
   BaseTools/Conf/tools_def.template, all of which have supported
   `#pragma once` for over two decades.
2. There have been concerns raised to the project about inconsistent
   include guard naming and potential macro collisions.

Approximate compiler support dates:

- MSVC: Supported since Visual C++ 4.2 (1996)
- GCC: Supported since 3.4 (2004)
  (http://gnu.ist.utl.pt/software/gcc/gcc-3.4/changes.html)
- Clang (LLVM based): Since initial release in 2007

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>Redfish/HiiUtilityLib Fix incorrect type assignment</title>
<updated>2024-12-27T09:06:40+00:00</updated>
<author>
<name>Igor Kulchytskyy</name>
<email>igork@ami.com</email>
</author>
<published>2024-12-23T22:13:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0986082d7ef68fe63d215af925b22394ac93e544'/>
<id>urn:sha1:0986082d7ef68fe63d215af925b22394ac93e544</id>
<content type='text'>
Replaced direct assignment of 'Value = (EFI_HII_VALUE *)&amp;Question-&gt;Value'
with the correct usage of HiiStatementValueToHiiValue function.
This resolves the issue where EFI_HII_VALUE and HII_STATEMENT_VALUE types
are incompatible, ensuring proper handling of Question-&gt;Value.

Signed-off-by: Igor Kulchytskyy &lt;igork@ami.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: add explicit variable initialization</title>
<updated>2023-11-30T07:10:34+00:00</updated>
<author>
<name>Mike Maslenkin</name>
<email>mike.maslenkin@gmail.com</email>
</author>
<published>2023-11-06T02:15:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b4f8c75e316e74750d5806b8ebf2bd11a3d62626'/>
<id>urn:sha1:b4f8c75e316e74750d5806b8ebf2bd11a3d62626</id>
<content type='text'>
Ancient GCC 4.8.5 warned about variable may be unitialied.
And it doesn't look like false alarm.

The warning is:
edk2/RedfishPkg/Library/HiiUtilityLib/HiiUtilityInternal.c: In function 'GetQuestionDefault':
edk2/RedfishPkg/Library/HiiUtilityLib/HiiUtilityInternal.c:5519:6: error: 'ConfigAccess' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   if (ConfigAccess != NULL) {

Cc: Abner Chang &lt;abner.chang@amd.com&gt;
Cc: Igor Kulchytskyy &lt;igork@ami.com&gt;
Reviewed-by: Nickle Wang &lt;nicklew@nvidia.com&gt;

Signed-off-by: Mike Maslenkin &lt;mike.maslenkin@gmail.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: fix memory leak in HiiUtilityLib</title>
<updated>2023-11-30T07:10:34+00:00</updated>
<author>
<name>Mike Maslenkin</name>
<email>mike.maslenkin@gmail.com</email>
</author>
<published>2023-10-08T21:58:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ed923afda5180832cb8a6e0f102c8d0aaef3964a'/>
<id>urn:sha1:ed923afda5180832cb8a6e0f102c8d0aaef3964a</id>
<content type='text'>
Cc: Abner Chang &lt;abner.chang@amd.com&gt;
Cc: Igor Kulchytskyy &lt;igork@ami.com&gt;
Reviewed-by: Nickle Wang &lt;nicklew@nvidia.com&gt;

Signed-off-by: Mike Maslenkin &lt;mike.maslenkin@gmail.com&gt;
</content>
</entry>
<entry>
<title>RedfishPkg: introduce HII utility helper library</title>
<updated>2023-04-28T12:21:38+00:00</updated>
<author>
<name>Nickle Wang</name>
<email>nicklew@nvidia.com</email>
</author>
<published>2023-04-10T13:12:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=02990e2558ffe4ed7e78103dfa2df88badc66316'/>
<id>urn:sha1:02990e2558ffe4ed7e78103dfa2df88badc66316</id>
<content type='text'>
HiiUtilityLib is a helper library that provides the
functions to manipulate HII options.

Signed-off-by: Nickle Wang &lt;nicklew@nvidia.com&gt;
Cc: Abner Chang &lt;abner.chang@amd.com&gt;
Cc: Igor Kulchytskyy &lt;igork@ami.com&gt;
Cc: Nick Ramirez &lt;nramirez@nvidia.com&gt;
Reviewed-by: Abner Chang &lt;abner.chang@amd.com&gt;
Reviewed-by: Igor Kulchytskyy &lt;igork @ami.com&gt;
</content>
</entry>
</feed>
