1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/include/net/gnrc
bors[bot] 211db05401
Merge #18477 #19101 #19155
18477: gnrc_static: add static network configuration r=miri64 a=benpicco



19101: CI: update check-labels-action r=miri64 a=kaspar030



19155: Revert "sys/pm_layered: pm_(un)block add attribute optimize(3)" r=maribu a=Teufelchen1

Revert "sys/pm_layered: pm_(un)block add attribute optimize(3) -shortens hotpath"

This reverts commit 5447203921.

### Contribution description

Compiling `examples/gnrc_networking_mac` using `TOOLCHAIN=llvm` yields the following error:
```
RIOT/sys/pm_layered/pm.c:77:16: error: unknown attribute 'optimize' ignored [-Werror,-Wunknown-attributes]
__attribute__((optimize(3)))
```
As indicated, this is because the attribute `optimize` is GCC only and not present in LLVM.
Compare the manpages of [GCC](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html) and [LLVM](https://clang.llvm.org/docs/AttributeReference.html).


### Testing procedure

Since this should only affect performance and not behavior, no special testing is needed. I am not aware of any tests in RIOT which could verify that assumption.

### Issues/PRs references

Introduced in #18846

There is another instance of this attribute being used in[ shell_lock.c](6fb340d654/sys/shell_lock/shell_lock.c (L80)). Since the usage is security related, I omit it from this PR.


Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
Co-authored-by: Teufelchen1 <bennet.blischke@haw-hamburg.de>
2023-01-16 14:03:15 +00:00
..
dhcpv6/client gnrc_dhcpv6: improve documentation on modules made explicit 2022-10-12 11:27:15 +02:00
gomach Merge branch 'master' into gnrc_gomach/adapt_duty_recode_para_name 2021-10-13 17:36:21 +02:00
icmpv6 sys/include: fix typos 2019-11-23 22:39:37 +01:00
ipv6 Merge #18477 #19101 #19155 2023-01-16 14:03:15 +00:00
lorawan gnrc/include: replace kernel_defines.h 2022-11-22 13:39:35 +01:00
lwmac sys/net/gnrc/lwmac: add missing const qualifier 2021-03-02 17:12:01 +01:00
mac gnrc/include: replace kernel_defines.h 2022-11-22 13:39:35 +01:00
netif gnrc/include: replace kernel_defines.h 2022-11-22 13:39:35 +01:00
rpl net/gnrc/rpl: add hooks for nimble_rpble 2021-08-24 11:33:13 +02:00
sixlowpan gnrc/include: replace kernel_defines.h 2022-11-22 13:39:35 +01:00
tcp Merge pull request #16764 from brummer-simon/gnrc_tcp-experimental_dynamic_MSL 2021-09-13 10:36:54 +02:00
icmpv6.h gnrc_ipv6: gnrc_icmpv6: simplify access to network interfaces 2018-01-17 16:48:58 +01:00
ipv6.h net/gnrc: avoid *timer creeping though header 2022-02-28 14:53:07 +01:00
lorawan.h gnrc/lorawan: add support for GNRC LoRaWAN 1.1 2022-09-29 11:25:56 +02:00
ndp.h gnrc_ndp: add route information option 2021-06-18 00:13:08 +02:00
netapi.h treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
neterr.h all: remove traces of kernel_types.h 2020-11-25 17:52:34 +01:00
netif.h gnrc_netif: constify group parameter 2022-12-13 00:24:44 +01:00
netreg.h gnrc_netreg: Use locks around netreg 2022-10-14 03:35:15 +02:00
nettype.h gnrc/include: replace kernel_defines.h 2022-11-22 13:39:35 +01:00
pkt.h sys/net/gnrc/pkt: fix gnrc_pkt_delete() 2022-11-10 17:25:34 +01:00
pktbuf.h sys/net/gnrc_pktbuf: deduplicate code 2021-01-26 10:50:19 +01:00
pktdump.h all: adapt to moved sched defines 2020-11-23 16:56:34 +01:00
pktqueue.h doc: Fix 'must not'/'may not' wording 2017-12-19 09:00:12 +01:00
priority_pktqueue.h doc: Fix 'must not'/'may not' wording 2017-12-19 09:00:12 +01:00
rpl.h gnrc/include: replace kernel_defines.h 2022-11-22 13:39:35 +01:00
sixlowpan.h all: adapt to moved sched defines 2020-11-23 16:56:34 +01:00
tcp.h gnrc_sock_tcp: integrate gnrc_tcp 2021-08-14 21:27:34 +02:00
tx_sync.h gnrc tx-sync: add cast for c++ compatibility 2021-05-04 16:59:56 +02:00
udp.h gnrc_udp: use small stack-size 2022-10-27 17:28:01 +02:00