History log of /openbmc/google-misc/subprojects/ncsid/test/net_iface_mock.h (Results 1 – 4 of 4)
Revision Date Author Comments
# a9a98258 18-Sep-2023 Willy Tu <wltu@google.com>

ncsid: Fix if_packet warnings

The new Docker CI now hits the following error.
```
/usr/include/linux/if_packet.h:24:17: error: flexible array member 'sockaddr_ll::<unnamed union>::<unnamed struct>::

ncsid: Fix if_packet warnings

The new Docker CI now hits the following error.
```
/usr/include/linux/if_packet.h:24:17: error: flexible array member 'sockaddr_ll::<unnamed union>::<unnamed struct>::sll_addr_flex' not at end of 'class ncsi::SockIO'
24 | __DECLARE_FLEX_ARRAY(unsigned char, sll_addr_flex);
| ^~~~~~~~~~~~~~~~~~~~
../subprojects/ncsid/src/ncsi_sockio.h:55:15: note: next member 'const int ncsi::SockIO::kpoll_timeout_' declared here
55 | const int kpoll_timeout_ = 10;
| ^~~~~~~~~~~~~~
../subprojects/ncsid/src/ncsi_sockio.h:29:7: note: in the definition of 'class ncsi::SockIO'
29 | class SockIO : public net::SockIO
```

Removed the sockaddr_ll variable.

Change-Id: I67e700f6cd728bfbc822c1b8661915f8306711a1
Signed-off-by: Willy Tu <wltu@google.com>

show more ...


# adb8ffe4 17-Jul-2023 Willy Tu <wltu@google.com>

iwyu: Cleanup include headers

Triggered iwyu and add/remove used headers.

Change-Id: Iadbdb459563b3c89baf2d56f90a540342d020cd5
Signed-off-by: Willy Tu <wltu@google.com>


# 2be45238 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: Ia240047e2472bccb2bb039ff71bea20a7a602ec4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 1285115c 17-Mar-2021 William A. Kennington III <wak@google.com>

meson: Fix build with 0.57.1

Meson doesn't like that we are symlinking subprojects outside the
subproject directory. If we invert the links we are able to build again.

We also need to fix any proje

meson: Fix build with 0.57.1

Meson doesn't like that we are symlinking subprojects outside the
subproject directory. If we invert the links we are able to build again.

We also need to fix any projects passing arguments which they don't
actually accept.

Change-Id: Ie7adf82afabc1becc85c36b3cc632e8ebd4cae5b
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...