zephyr/doc
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
..
_doxygen
_extensions/zephyr doc: extensions: Clean-up and order imports 2023-08-25 14:58:18 +02:00
_scripts doc: redirects: Add redirects for renamed Intel boards 2023-09-01 17:40:30 +02:00
_static Revert "doc: Update requirements-doc.txt to use docleaf" 2023-08-24 09:19:37 +01:00
_templates
build doc: sysbuild: Update note regarding CONFIG_ZEPHYR_TRY_MASS_ERASE 2023-08-17 15:12:57 +02:00
connectivity docs: bluetooth: mesh: Add missing space in od_srv.rst 2023-08-28 10:12:54 +02:00
contribute doc: guidelines: add an item about avoiding binary literals 2023-08-24 10:21:12 +02:00
develop net: conn_mgr: Mark as experimental in the API table 2023-08-29 16:13:37 +02:00
hardware fuel_gauge: Add battery cutoff support 2023-08-22 18:05:50 +02:00
images
introduction
kernel kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
project doc: release: drop the notes about listing github issues 2023-07-25 16:45:15 +02:00
releases kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
safety
security doc: vulnerabilities: Add information about CVE-2023-4265 2023-08-16 15:05:35 +02:00
services doc: ivshmem: Simple syntax correction 2023-08-31 10:00:06 -04:00
templates
404.rst
CMakeLists.txt
conf.py Revert "doc: Switch to using docleaf for doxygen entities" 2023-08-24 09:19:37 +01:00
glossary.rst
index-tex.rst
index.rst
kconfig.rst
known-warnings.txt
LICENSING.rst
Makefile doc: align pseudo-Makefile with latest CMake changes 2023-07-13 14:27:56 +02:00
requirements.txt Revert "doc: Update requirements-doc.txt to use docleaf" 2023-08-24 09:19:37 +01:00
substitutions.txt
zephyr.doxyfile.in