zephyr/tests/bluetooth
Carles Cufi 8c748fd005 kernel: Modify the signature of k_mem_slab_free()
Modify the signature of the k_mem_slab_free() function with a new one,
replacing the old void **mem with void *mem as a parameter.

The following function:
void k_mem_slab_free(struct k_mem_slab *slab, void **mem);

has the wrong signature. mem is only used as a regular pointer, so there
is no need to use a double-pointer. The correct signature should be:
void k_mem_slab_free(struct k_mem_slab *slab, void *mem);

The issue with the current signature, although functional, is that it is
extremely confusing. I myself, a veteran Zephyr developer, was confused
by this parameter when looking at it recently.

All in-tree uses of the function have been adapted.

Fixes #61888.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2023-09-03 18:20:59 -04:00
..
addr Bluetooth: Host: Test: bt_addr_from_str 2023-06-05 08:31:06 -04:00
adv Bluetooth: Tests: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
at samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
audio kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
bluetooth Bluetooth: Tests: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
bt_crypto samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
bt_crypto_ccm samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
controller Bluetooth: controller: Fix LLCP enc. execution ctx 2023-08-30 10:22:15 +02:00
ctrl_isoal Bluetooth: Controller: Fix Tx ISO SDUs dropped due to strict SN check 2023-06-08 06:47:25 -04:00
ctrl_sw_privacy test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
ctrl_sw_privacy_unit Bluetooth: Controller: Add trpa cache for BT_CTLR_SW_DEFERRED_PRIVACY 2023-08-29 16:13:22 +02:00
ctrl_user_ext samples and tests: Use non-environmental zephyr base variable 2023-03-03 10:49:10 +01:00
df Bluetooth: controller: removing legacy LLCP code 2023-03-17 15:05:05 +01:00
gatt Bluetooth: Tests: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
hci_codecs_info tests: Bluetooth: update unittests for Audio codecs 2023-01-13 09:43:18 +01:00
hci_prop_evt Bluetooth: Tests: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
host bluetooth: host: track connection type enum 2023-07-05 09:15:48 +02:00
host_long_adv_recv Bluetooth: Tests: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
init Bluetooth: Tests: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
l2cap Bluetooth: Tests: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
ll_settings includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
mesh Bluetooth: Mesh: refactor mesh to use both tinycrypt and psa based crypto 2023-06-17 07:46:03 -04:00
mesh_shell Bluetooth: Mesh: add shell statistic commands 2023-07-07 09:20:33 +02:00
qualification tests: Bluetooth: Upload Launch Studio Project and ICS 2022-09-26 13:21:08 +02:00
shell Bluetooth: Audio: Refactor bt_audio_codec_cfg to flat arrays 2023-08-28 15:56:53 +02:00
tester tests: Bluetooth: tester: Change mesh nrf board to nrf52840dk_nrf52840 2023-09-01 15:09:07 +02:00
uuid samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00