1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/auto_init
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
..
can sys/auto_init_mcp2515: fix auto_init 2022-04-20 09:23:50 +02:00
include Merge #18477 #19101 #19155 2023-01-16 14:03:15 +00:00
leds drivers/periph_common: add periph_init_leds to init all on-board LEDs 2022-02-18 14:35:43 +01:00
loramac auto_init/loramac: avoid explicit cast to netdev 2021-07-09 11:35:18 +02:00
multimedia sys/auto_init/multimedia: add module to Kconfig 2020-12-02 10:12:17 +01:00
screen Merge pull request #17925 from aabadie/pr/drivers/lcd_params_rework 2022-04-19 16:21:42 +02:00
security sys/auto_init: model auto_init_security in Kconfig 2022-05-03 16:06:22 +02:00
usb sys/auto_init: add support for USB DFU 2021-01-12 11:34:22 +01:00
auto_init.c Merge #18477 #19101 #19155 2023-01-16 14:03:15 +00:00
Kconfig sys/preprocessor: add Kconfig file 2022-10-17 10:38:14 +02:00
Makefile sys: add auto_init includes treewide 2022-10-17 10:38:14 +02:00