Skip to content

Commit 70f1c21

Browse files
committed
CRACEN: Add static inline for sx_handle_nested_error
-Was only "inline" before, and it has been reported that this raises warnings when building with -O0 under certain ref: NCSDK-28901 Signed-off-by: Frank Audun Kvamtrø <[email protected]>
1 parent 17373b8 commit 70f1c21

File tree

1 file changed

+1
-1
lines changed
  • subsys/nrf_security/src/drivers/cracen/sxsymcrypt/include/sxsymcrypt

1 file changed

+1
-1
lines changed

subsys/nrf_security/src/drivers/cracen/sxsymcrypt/include/sxsymcrypt/internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ struct sxcmmask {
178178
* @return Return the nested error if it is not SX_OK, otherwise return
179179
* the original error code.
180180
*/
181-
inline int sx_handle_nested_error(int nested_err, int err)
181+
static inline int sx_handle_nested_error(int nested_err, int err)
182182
{
183183
return nested_err ? nested_err != SX_OK : err;
184184
}

0 commit comments

Comments
 (0)