#
42a44c28 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I09e19a126d456dc184fd70e82d4e4e4217fa8ee7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
166b4f19 |
| 17-Jun-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://githu
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: I0ffaae547bff9679343b36c337436af0260c8f73 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
#
a9423469 |
| 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: Ie6154ef3394b8e652a8cb1ac33d68e3c3cec8cd8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
1038836c |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I2ee8cbc4581d0c3ccdc130b646357c45fa0373db Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
99d292a3 |
| 08-Feb-2022 |
Willy Tu <wltu@google.com> |
phosphor-ipmi-flash: Code Health Cleanup
Removed the following warning. - using decl '*' is unused - 'push_back' is called inside a loop; consider pre-allocating the container capacity before th
phosphor-ipmi-flash: Code Health Cleanup
Removed the following warning. - using decl '*' is unused - 'push_back' is called inside a loop; consider pre-allocating the container capacity before the loop - function '*' defined in a header file; function definitions in header files can lead to ODR violations
Change-Id: I44e4b0f8056a853fb45b690394be1a8ebec45b20 Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
#
b487eb47 |
| 16-Sep-2021 |
Willy Tu <wltu@google.com> |
phosphor-ipmi-flash: Fix all C++ warnings
Change-Id: I89236b2dab88ca725e269bb8f5b2cbfd271e807a Signed-off-by: Willy Tu <wltu@google.com>
|
#
56a2273f |
| 23-Oct-2020 |
Jason Ling <jasonling@google.com> |
extend file_handler to support reads
Problem: the upcomming version handler will need to read from files. Currently file hander (image handler) does not support reads.
Solution: Add read support by
extend file_handler to support reads
Problem: the upcomming version handler will need to read from files. Currently file hander (image handler) does not support reads.
Solution: Add read support by providing an optional mode parameter.
Tests added: FileHanderTest added to - Test out open for reads - Test out reading out bytes and verifying size and content - Test out trying to read beyond EOF - Test out offset reads that go beyond EOF
Tested: Existing unit tests pass New unit tests for reading all pass
Signed-off-by: Jason Ling <jasonling@google.com> Change-Id: Ie416a6b4b452d8d04fa158bd55989d07a891896f
show more ...
|
#
ded66d0f |
| 23-Oct-2020 |
Jason Ling <jasonling@google.com> |
move files around to create a common convenience library
Problem: plan is to add another blob handler into ipmi-flash (ipmi-flash-version). This new handler will re-use much of the ipmi-flash (firmw
move files around to create a common convenience library
Problem: plan is to add another blob handler into ipmi-flash (ipmi-flash-version). This new handler will re-use much of the ipmi-flash (firmware-handler) code. The common code should be presented as a convenience library to reduce code duplication.
Solution: move anticipated firmware-handler specific code into the subdirectory bmc/firmware-handler and leave common code in bmc/.
The end goal is to have version-handler re-use as much code as possible.
Tested: rebuilt everything and ran unit tests.
Signed-off-by: Jason Ling <jasonling@google.com> Change-Id: I2128da629b0ddf27b89f1faee358d1941f1dff38
show more ...
|