zephyr/subsys
Andy Ross 0c30db1ec5 subsys/pm: C99-legalize declaration of CPU power states
The CPU power states were declared with a typecast array literal,
which is a GNU extension.

Unfortunately some compilers (xt-xcc even in very recent versions,
when used with -fdata-sections) will die with a compiler error when
those rvalues are used in an expression that also takes their address,
e.g.:

    /* this all by itself crashes xcc -fdata-sections */
    int *foo = (int[]){0};

Declare the array elments in two steps, making the code standard C.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2022-01-27 16:26:27 -05:00
..
bluetooth Bluetooth: Host: Detect deadlock in bt_att_req_alloc 2022-01-27 16:04:24 +01:00
canbus drivers: can: rename API functions for better consistency 2022-01-10 10:44:37 +01:00
console console: Kconfig: Remove EXPERIMENTAL marker 2021-10-22 09:46:22 -04:00
cpp cpp: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
debug debug: Remove deprecated CONFIG_OPENOCD_SUPPORT 2022-01-24 10:23:20 -05:00
demand_paging
dfu
disk
emul i2c: emul: Add get_config function 2021-11-02 16:46:33 +01:00
fb samples: use chosen property to get default display controller 2021-12-10 12:47:30 +01:00
fs fs: Extend the littlefs code to support block devices 2022-01-17 12:53:43 -05:00
ipc ipc: Remove multi-instance backend 2022-01-17 15:50:58 -05:00
jwt
logging logging: log_output: Fix immediate output for big endian 2022-01-27 10:02:21 +01:00
lorawan kconfig: lorawan: experimental settings now uses select EXPERIMENTAL 2021-10-25 10:46:48 +02:00
mgmt mgmt/mcumgr/lib: Fix bug in file download chunk size config 2022-01-21 13:17:59 -05:00
modbus modbus: keep transaction and protocol IDs in gateway mode 2022-01-10 09:45:42 -06:00
net net: if: Leave all IPv4 mcast groups when interface goes down 2022-01-26 10:50:24 +01:00
pm subsys/pm: C99-legalize declaration of CPU power states 2022-01-27 16:26:27 -05:00
portability portability: cmsis: use correct type for atomics 2021-11-15 09:59:01 -05:00
random random: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
settings settings: add shell commands for reading settings 2021-11-22 08:32:56 -05:00
shell logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
stats stats: fixed implicit integer sign extension in stats_get_off() 2021-10-28 15:15:56 -04:00
storage storage/flash_map: Use larger type for alignment 2021-12-30 16:32:02 -05:00
task_wdt task_wdt: fix overflow in current_ticks making wdt get stuck 2021-11-22 20:22:11 -05:00
testsuite testsuite: tc_util: Limit include range 2022-01-27 09:58:08 -05:00
timing
tracing tracing_user: Add ISR nest level parameter 2022-01-21 14:38:35 -05:00
usb usb: bluetooth: check buffer tailroom before copying 2022-01-26 11:54:31 +01:00
CMakeLists.txt
Kconfig