#
366507c8 |
| 03-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I95f756bab7f403af49a94011bbb1fe4e51f985ad Signed-off-by: Patrick Williams <p
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I95f756bab7f403af49a94011bbb1fe4e51f985ad Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
f106a2c8 |
| 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
fw-update: Break circular dependency
``` In file included from ../pldmd/pldmd.cpp:2: In file included from ../common/flight_recorder.hpp:3: In file included from ../common/utils.hpp:15: In file incl
fw-update: Break circular dependency
``` In file included from ../pldmd/pldmd.cpp:2: In file included from ../common/flight_recorder.hpp:3: In file included from ../common/utils.hpp:15: In file included from ../subprojects/nlohmann_json/single_include/nlohmann/json.hpp:29: In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/memory:78: /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:91:16: error: invalid application of 'sizeof' to an incomplete type 'pldm::fw_update::Activation' 91 | static_assert(sizeof(_Tp)>0, | ^~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:398:4: note: in instantiation of member function 'std::default_delete<pldm::fw_update::Activation>::opera tor()' requested here 398 | get_deleter()(std::move(__ptr)); | ^ ../fw-update/update_manager.hpp:46:14: note: in instantiation of member function 'std::unique_ptr<pldm::fw_update::Activation>::~unique_ptr' requested here 46 | explicit UpdateManager( | ^ ../fw-update/update_manager.hpp:33:7: note: forward declaration of 'pldm::fw_update::Activation' 33 | class Activation; | ^ In file included from ../pldmd/pldmd.cpp:2: In file included from ../common/flight_recorder.hpp:3: In file included from ../common/utils.hpp:15: In file included from ../subprojects/nlohmann_json/single_include/nlohmann/json.hpp:29: In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/memory:78: /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:91:16: error: invalid application of 'sizeof' to an incomplete type 'pldm::fw_update::ActivationProgress' 91 | static_assert(sizeof(_Tp)>0, | ^~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:398:4: note: in instantiation of member function 'std::default_delete<pldm::fw_update::ActivationProgress >::operator()' requested here 398 | get_deleter()(std::move(__ptr)); | ^ ../fw-update/update_manager.hpp:46:14: note: in instantiation of member function 'std::unique_ptr<pldm::fw_update::ActivationProgress>::~unique_ptr' requested here 46 | explicit UpdateManager( | ^ ../fw-update/update_manager.hpp:34:7: note: forward declaration of 'pldm::fw_update::ActivationProgress' 34 | class ActivationProgress; | ^ ```
Change-Id: I2820cbe134d1f37a43e6a5056eed87dde6e63b08 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
#
6da4f91b |
| 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: I61b093f75011417cc9c7acf9605200f4fa429bac Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
84b790cb |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8e2242adb79be342562c9b7f3d2153dfdf578085
show more ...
|
#
357b72dc |
| 13-Apr-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: object: don't use 'bool' argument constructor
`sdbusplus::server::object_t` has long had an enum-based parameter for signal action, but maintained a backwards compatible boolean mapping.
sdbusplus: object: don't use 'bool' argument constructor
`sdbusplus::server::object_t` has long had an enum-based parameter for signal action, but maintained a backwards compatible boolean mapping. It is time to remove this boolean to make it more observable which actions are being used in applications. Map all `true` occurrences to `action::defer_emit`. There was one case of an implicit conversion from a pointer to a boolean, which I think was an unintended parameter passing, and was cleaned up.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5eac859a083e014f13794703c1c194e7f3d2a35d
show more ...
|
#
4d8d5770 |
| 17-Aug-2021 |
Tom Joseph <rushtotom@gmail.com> |
fw-update: Implement firmware UpdateManager
The UpdateManager parses the PLDM package and co-ordinates with the DeviceUpdater to update all the PLDM enabled firmware devices.
Tested: Completed firm
fw-update: Implement firmware UpdateManager
The UpdateManager parses the PLDM package and co-ordinates with the DeviceUpdater to update all the PLDM enabled firmware devices.
Tested: Completed firmware update using PLDM for an FD
Signed-off-by: Tom Joseph <rushtotom@gmail.com> Change-Id: Ia87675e0a88cb1f72ad82934e539739db193b9f6
show more ...
|