Skip to content

Commit 4f66ee8

Browse files
tomi-fontnordicjm
authored andcommitted
nrf_security: cracen: reorder includes to fix attribute redefinition
Just as 3b78573/#22877 did, include zephyr/kernel.h as the first thing to avoid redefinitions of attributes (__noinline, __deprecated, __fallthrough) in picolibc. ref: NCSDK-34100 Signed-off-by: Tomi Fontanilles <[email protected]>
1 parent 293252a commit 4f66ee8

File tree

1 file changed

+1
-2
lines changed
  • subsys/nrf_security/src/drivers/cracen/cracenpsa/src

1 file changed

+1
-2
lines changed

subsys/nrf_security/src/drivers/cracen/cracenpsa/src/kmu.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
*/
66

7+
#include <zephyr/kernel.h>
78
#include <nrfx.h>
89
#include <cracen/mem_helpers.h>
910
#include <cracen/statuscodes.h>
@@ -12,8 +13,6 @@
1213
#include <psa/crypto.h>
1314
#include <stdint.h>
1415
#include <sxsymcrypt/internal.h>
15-
#include <zephyr/sys/util.h>
16-
#include <zephyr/sys/__assert.h>
1716
#include <hw_unique_key.h>
1817
#include <cracen_psa.h>
1918
#include "common.h"

0 commit comments

Comments
 (0)