From 4ad4d3114b63604fddd2777e8540c76e79b89c3b Mon Sep 17 00:00:00 2001 From: srningap Date: Tue, 11 Apr 2023 20:22:45 +0530 Subject: [PATCH] Applied restyle --- .../silabs/SiWx917/device/src/startup_RS1xxxx.c | 10 +++++----- src/platform/silabs/SiWx917/CHIPCryptoPALTinyCrypt.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/platform/silabs/SiWx917/device/src/startup_RS1xxxx.c b/examples/platform/silabs/SiWx917/device/src/startup_RS1xxxx.c index d0936c34073c2b..db9b05fad220bb 100644 --- a/examples/platform/silabs/SiWx917/device/src/startup_RS1xxxx.c +++ b/examples/platform/silabs/SiWx917/device/src/startup_RS1xxxx.c @@ -37,11 +37,11 @@ __attribute__((section(".co_stack"))) unsigned long pulStack[STACK_SIZE]; #define WEAK __attribute__((weak)) /*----------Declaration of the default fault handlers-------------------------*/ - #ifndef __START - extern void _start(void) __attribute__((noreturn)); /* Pre Main (C library entry point) */ - #else - extern int __START(void) __attribute__((noreturn)); /* main entry point */ - #endif +#ifndef __START +extern void _start(void) __attribute__((noreturn)); /* Pre Main (C library entry point) */ +#else +extern int __START(void) __attribute__((noreturn)); /* main entry point */ +#endif /* System exception vector handler */ __attribute__((used)) void WEAK Reset_Handler(void); diff --git a/src/platform/silabs/SiWx917/CHIPCryptoPALTinyCrypt.cpp b/src/platform/silabs/SiWx917/CHIPCryptoPALTinyCrypt.cpp index 4c897aa7c8e30c..1d8c9a293d438d 100644 --- a/src/platform/silabs/SiWx917/CHIPCryptoPALTinyCrypt.cpp +++ b/src/platform/silabs/SiWx917/CHIPCryptoPALTinyCrypt.cpp @@ -931,7 +931,7 @@ CHIP_ERROR Spake2p_P256_SHA256_HKDF_HMAC::FELoad(const uint8_t * in, size_t in_l CHIP_ERROR Spake2p_P256_SHA256_HKDF_HMAC::FEWrite(const void * fe, uint8_t * out, size_t out_len) { - (void)out_len; + (void) out_len; uECC_vli_nativeToBytes(out, NUM_ECC_BYTES, (const unsigned int *) fe); return CHIP_NO_ERROR;