#
8425624a |
| 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: I8d0072c279e4de87dc001190845d0ca6da233345 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
acb8d90b |
| 30-Jul-2024 |
Andrew Geissler <geissonator@yahoo.com> |
gcc14: fix C++ One Definition Rule
The following error occurs when building with gcc14: ``` | message.hpp:117:8: error: type 'struct Message' violates the C++ One Definition Rule [-Werror=odr] | mes
gcc14: fix C++ One Definition Rule
The following error occurs when building with gcc14: ``` | message.hpp:117:8: error: type 'struct Message' violates the C++ One Definition Rule [-Werror=odr] | message.hpp:117:8: note: a different type is defined in another translation unit | message.hpp:261:26: note: the first difference of corresponding definitions is field 'payload' | message.hpp:250:13: note: a field with different name is defined in another translation unit ```
This is because some files that include this header have included config.h, and some have not. config.h defines the RMCP_PING compile flag.
Tested: - Confirmed this now compiles with gcc14
Change-Id: I7f3705bdc21cc05cc7fedb591f198cbf9dc9365d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
#
099fb097 |
| 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: I862ed296ce1f42dba7047a74540d9004ad78130c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
ec5ddaf5 |
| 03-Aug-2022 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
Fix issues found by a static code scan
* bitwise operands of different size * uninitialized member variables
Tested: Builds and runs without difference.
Change-Id: Ie59f0b9ede0bad1840a16a092f310e3
Fix issues found by a static code scan
* bitwise operands of different size * uninitialized member variables
Tested: Builds and runs without difference.
Change-Id: Ie59f0b9ede0bad1840a16a092f310e3fb37d23da Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
bc8958fe |
| 03-Jul-2022 |
George Liu <liuxiwei@inspur.com> |
Update to latest clang-format
Refer:https://github.com/openbmc/docs/blob/ac5d544553934f8083c61c5986a1420261bc8a4c/style/cpp/.clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id:
Update to latest clang-format
Refer:https://github.com/openbmc/docs/blob/ac5d544553934f8083c61c5986a1420261bc8a4c/style/cpp/.clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I1e06864afc29ce7de463e62fa2a0eb6f70e8fd93
show more ...
|
#
b88599a2 |
| 19-Jul-2021 |
P Dheeraj Srujan Kumar <p.dheeraj.srujan.kumar@intel.com> |
Fix Klocwork Issue:bitwise operation size mismatch
Bitwise operation on different integer sizes. Fixed by static_cast to larger integer size.
Signed-off-by: P Dheeraj Srujan Kumar <p.dheeraj.srujan
Fix Klocwork Issue:bitwise operation size mismatch
Bitwise operation on different integer sizes. Fixed by static_cast to larger integer size.
Signed-off-by: P Dheeraj Srujan Kumar <p.dheeraj.srujan.kumar@intel.com> Change-Id: I71be855cbf621d768efe1a36b59b1f14e2c9635c
show more ...
|
#
de7dd5ce |
| 27-Feb-2021 |
Kirill Pakhomov <k.pakhomov@yadro.com> |
Add RMCP Ping support
Added support of RMCP Ping/Pong request and response (ASF messages).
Tested: Tested using rmcpping tool to send RMCP ping.
Resolves openbmc/phosphor-net-ipmid#15
Signed-off-
Add RMCP Ping support
Added support of RMCP Ping/Pong request and response (ASF messages).
Tested: Tested using rmcpping tool to send RMCP ping.
Resolves openbmc/phosphor-net-ipmid#15
Signed-off-by: Kirill Pakhomov <k.pakhomov@yadro.com> Change-Id: Ie5199e6af69860d9406bdd516952b62c3d05793f
show more ...
|
#
9d9b7638 |
| 17-May-2020 |
Andrew Geissler <geissonator@yahoo.com> |
size_t: ensure cstddef included
Latest upstream yocto appears to have removed a free include of cstddef. This is causing compile failures for files which do not include it properly.
Signed-off-by:
size_t: ensure cstddef included
Latest upstream yocto appears to have removed a free include of cstddef. This is causing compile failures for files which do not include it properly.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ie54a2768ef72f59ab140df05e79e86baae6eaa82
show more ...
|
#
7f268e4d |
| 26-Oct-2018 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
netipmid: consolidate message-related things in message.hpp
The message::Handler class was directly manipulating a bunch of stuff on behalf of the message::Message class. This change moves more of t
netipmid: consolidate message-related things in message.hpp
The message::Handler class was directly manipulating a bunch of stuff on behalf of the message::Message class. This change moves more of the changes into the message::Message class so it can manage its own data.
Change-Id: I5d31f6c3c5760207408238d048853e36a60c73e0 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
9e801a2b |
| 12-Oct-2018 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
netipmid: apply clang-format rules
Lots of whitespace change. Let clang-format do its job and keep the code looking nice.
Change-Id: Idfcad1a99cab8170d55a06163de8ad3f420b68b7 Signed-off-by: Vernon
netipmid: apply clang-format rules
Lots of whitespace change. Let clang-format do its job and keep the code looking nice.
Change-Id: Idfcad1a99cab8170d55a06163de8ad3f420b68b7 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
3563f8fe |
| 08-May-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Correct doxygen syntax in phosphor-net-ipmid
Resolves openbmc/openbmc#1147
Change-Id: I57ab1b09ec1bf308cc3d97cd30b2d18564beb38b Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
#
63d3e49c |
| 31-Mar-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Add function to send unsolicited IPMI payload to remote console.
Change-Id: Ifd9c711c16a6640d36d6247a7c3b46a7db1c6596 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
#
f7f984ff |
| 30-Mar-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Add SOL payload type
Change-Id: I3fea501131d3dff2b168937deda67cbc46c63641 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
#
9b672192 |
| 08-Aug-2016 |
Tom Joseph <tomjoseph@in.ibm.com> |
IPMI Message representation
Message structure would represent the payload inside an IPMI session packet.The payload would have different payload types like IPMI,SOL. The Request, response and traile
IPMI Message representation
Message structure would represent the payload inside an IPMI session packet.The payload would have different payload types like IPMI,SOL. The Request, response and trailer for the IPMI LAN Messages.
Change-Id: I45f64e3f1f29a546b29dac3de78fba8d7d0f1db3 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|