zephyr/samples/boards
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
..
96b_argonkey drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
arc_secure_services samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
bbc_microbit drivers: pwm: use pwm_is_ready_dt helper function 2023-08-30 10:19:47 +02:00
esp32 drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
google_kukui samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
google_twinkie_v2_pda samples/boards/google_twinkie_v2_pda: fix main return 2023-08-07 19:07:43 +00:00
intel_adsp/code_relocation samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
litex/i2s kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
mec15xxevb_assy6853 samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
mec172xevb_assy6906 samples/mec172xevb_assy6906: Switch main return type to int 2023-05-31 10:36:17 +02:00
mimxrt595_evk_cm33/system_off samples: boards: mimxrt595_evk_cm33: system_off: misc cleanups 2023-08-29 16:39:49 +01:00
mimxrt1060_evk/system_off drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
nrf samples: boards: nrf: dynamic_pinctrl: s/device.h/init.h 2023-08-30 10:15:39 +02:00
nxp_s32/netc samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
qomu samples: doc: fix dead links 2023-06-07 04:40:47 -04:00
reel_board/mesh_badge drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
rpi_pico/uart_pio samples, tests: cleanup void main usage. 2023-04-28 20:39:14 +02:00
sensortile_box drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
stm32 samples: boards: stm32: power_mgmt: stm32wb_ble: use sys_poweroff 2023-08-31 10:18:07 +02:00
ti/cc13x2_cc26x2/system_off samples: boards: ti: cc13x2_cc26x2: system_off: use sys_poweroff() 2023-08-31 14:42:26 +02:00
up_squared/gpio_counter samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
boards.rst