Commit 36db386c authored by Lucas Dietrich's avatar Lucas Dietrich Committed by Anas Nashif
Browse files

kernel: reorder Z_MEM_SLAB_INITIALIZER() initializers



Trivial change for C++, reorder Z_MEM_SLAB_INITIALIZER members
initialization in the same order they are defined in k_mem_slab
structure.

Fixes #38219

Signed-off-by: default avatarLucas Dietrich <ld.adecy@gmail.com>
parent 1518cc83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4772,8 +4772,8 @@ struct k_mem_slab {
#define Z_MEM_SLAB_INITIALIZER(obj, slab_buffer, slab_block_size, \
			       slab_num_blocks) \
	{ \
	.lock = {}, \
	.wait_q = Z_WAIT_Q_INIT(&obj.wait_q), \
	.lock = {}, \
	.num_blocks = slab_num_blocks, \
	.block_size = slab_block_size, \
	.buffer = slab_buffer, \