zephyr/subsys/net/lib/lwm2m
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
..
buf_util.h
CMakeLists.txt net: lwm2m: Add IPSO voltage sensor object 2023-03-06 12:34:22 +01:00
ipso_accelerometer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ipso_buzzer.c net: rename shadow variables 2023-08-10 08:14:43 +00:00
ipso_current_sensor.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ipso_filling_sensor.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ipso_filling_sensor.h
ipso_generic_sensor.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ipso_humidity_sensor.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ipso_light_control.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ipso_onoff_switch.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ipso_pressure_sensor.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ipso_push_button.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ipso_temp_sensor.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ipso_timer.c net: rename shadow variables 2023-08-10 08:14:43 +00:00
ipso_voltage_sensor.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
Kconfig net: lwm2m: Added support Conn Monitoring object version 1.3 2023-08-16 13:03:45 +02:00
Kconfig.ipso net: lwm2m: Typo in LWM2M_IPSO_TIMER description 2023-03-11 08:46:22 +02:00
Kconfig.ucifi
lwm2m_engine.c net: lwm2m: Wake up engine on pause/resume 2023-08-16 10:21:46 +02:00
lwm2m_engine.h net: lwm2m: Add support for non-periodic services 2023-08-01 12:07:12 +02:00
lwm2m_message_handling.c kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
lwm2m_message_handling.h net: lwm2m: Split message into blocks for sending 2023-05-15 09:18:09 +02:00
lwm2m_obj_access_control.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
lwm2m_obj_access_control.h
lwm2m_obj_binaryappdata.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
lwm2m_obj_binaryappdata.h
lwm2m_obj_connmon.c net: lwm2m: Added support Conn Monitoring object version 1.3 2023-08-16 13:03:45 +02:00
lwm2m_obj_device.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
lwm2m_obj_event_log.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
lwm2m_obj_event_log.h
lwm2m_obj_firmware_pull.c
lwm2m_obj_firmware.c net: lwm2m: Fix race condition on Firmware object 2023-08-16 13:03:07 +02:00
lwm2m_obj_gateway.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
lwm2m_obj_gateway.h
lwm2m_obj_location.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
lwm2m_obj_portfolio.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
lwm2m_obj_security.c net: lwm2m: Add support for X509 certificates 2023-06-26 12:35:29 +00:00
lwm2m_obj_server.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
lwm2m_obj_swmgmt.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
lwm2m_object.h net: lwm2m: Split message into blocks for sending 2023-05-15 09:18:09 +02:00
lwm2m_observation.c net: lwm2m: Create socketpair that can wake up zsock_poll() 2023-08-01 12:07:12 +02:00
lwm2m_observation.h
lwm2m_pull_context.c
lwm2m_pull_context.h
lwm2m_rd_client.c tests: lwm2m: Add bootstrap tests into RD client tests 2023-08-24 22:07:32 +01:00
lwm2m_rd_client.h net: lib: lwm2m: add missing #include to lwm2m_rd_client.h 2023-05-29 04:57:18 -04:00
lwm2m_registry.c net: lwm2m: Ensure string termination when reading empty data 2023-08-24 22:07:32 +01:00
lwm2m_registry.h net: lwm2m: Add const qualifier to many pointers 2023-02-22 14:26:20 +01:00
lwm2m_resource_ids.h
lwm2m_rw_cbor.c
lwm2m_rw_cbor.h
lwm2m_rw_json.c lwm2m: fix armclang compiler warnings with is*() functions 2023-03-31 14:01:24 +02:00
lwm2m_rw_json.h
lwm2m_rw_link_format.c
lwm2m_rw_link_format.h
lwm2m_rw_oma_tlv.c net: lwm2m: use path as block context retrieval 2023-05-03 10:01:37 +02:00
lwm2m_rw_oma_tlv.h
lwm2m_rw_plain_text.c lwm2m: fix armclang compiler warnings with is*() functions 2023-03-31 14:01:24 +02:00
lwm2m_rw_plain_text.h
lwm2m_rw_senml_cbor.c net: lwm2m: use path as block context retrieval 2023-05-03 10:01:37 +02:00
lwm2m_rw_senml_cbor.h
lwm2m_rw_senml_json.c lwm2m: fix armclang compiler warnings with is*() functions 2023-03-31 14:01:24 +02:00
lwm2m_rw_senml_json.h
lwm2m_senml_cbor_decode.c lwm2m_senml_cbor: Regenerate code files using zcbor 0.7.0 2023-04-18 15:22:02 +02:00
lwm2m_senml_cbor_decode.h lwm2m_senml_cbor: Regenerate code files using zcbor 0.7.0 2023-04-18 15:22:02 +02:00
lwm2m_senml_cbor_encode.c lwm2m_senml_cbor_encode.c: Manually edit whitespace 2023-04-18 15:22:02 +02:00
lwm2m_senml_cbor_encode.h lwm2m_senml_cbor: Regenerate code files using zcbor 0.7.0 2023-04-18 15:22:02 +02:00
lwm2m_senml_cbor_regenerate.sh lwm2m_senml_cbor: Update the regenerate script and the patch file 2023-04-18 15:22:02 +02:00
lwm2m_senml_cbor_types.h net: lwm2m: ignore -Wshadow for cbor type header file 2023-08-22 11:39:58 +02:00
lwm2m_senml_cbor.cddl
lwm2m_senml_cbor.patch lwm2m_senml_cbor: Update the regenerate script and the patch file 2023-04-18 15:22:02 +02:00
lwm2m_shell.c net: lwm2m: add callback for send confirmation 2023-04-17 11:29:14 +02:00
lwm2m_util.c net: lwm2m: Move utility functions from engine 2023-04-12 17:44:37 +02:00
lwm2m_util.h net: lwm2m: Move utility functions from engine 2023-04-12 17:44:37 +02:00
README_lwm2m
ucifi_battery.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ucifi_battery.h
ucifi_lpwan.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ucifi_lpwan.h