diff --git a/arch/arm/src/sam34/sam4l_gpio.c b/arch/arm/src/sam34/sam4l_gpio.c index bb312db0bc..d7e6a2b6cd 100644 --- a/arch/arm/src/sam34/sam4l_gpio.c +++ b/arch/arm/src/sam34/sam4l_gpio.c @@ -218,13 +218,13 @@ static inline int sam_configinterrupt(uintptr_t base, uint32_t pin, if (edges == GPIO_INT_RISING) { - /* Rising only.. disable interrrupts on the falling edge */ + /* Rising only.. disable interrupts on the falling edge */ putreg32(pin, base + SAM_GPIO_IMR0S_OFFSET); } else if (edges == GPIO_INT_FALLING) { - /* Falling only.. disable interrrupts on the rising edge */ + /* Falling only.. disable interrupts on the rising edge */ putreg32(pin, base + SAM_GPIO_IMR1S_OFFSET); } diff --git a/arch/arm/src/samd/sam_clockconfig.c b/arch/arm/src/samd/sam_clockconfig.c index 0fef4a3b3a..e6c5f5868a 100644 --- a/arch/arm/src/samd/sam_clockconfig.c +++ b/arch/arm/src/samd/sam_clockconfig.c @@ -441,7 +441,7 @@ static inline void sam_osc32k_config(void) /* Recover OSC32K calibration data from OTP "fuse" memory */ - regval = getreg32(SYSCTRL_FUSES_OSC32KCAL_ADDR) + regval = getreg32(SYSCTRL_FUSES_OSC32KCAL_ADDR); calib = (regval & SYSCTRL_FUSES_OSC32KCAL_MASK) >> SYSCTRL_FUSES_OSC32KCAL_SHIFT; regval = calib << SYSCTRL_OSC32K_CALIB_SHIFT; diff --git a/arch/arm/src/stm32/stm32_procfs_ccm.c b/arch/arm/src/stm32/stm32_procfs_ccm.c index f3da37b7b7..49b3a7351b 100644 --- a/arch/arm/src/stm32/stm32_procfs_ccm.c +++ b/arch/arm/src/stm32/stm32_procfs_ccm.c @@ -206,7 +206,6 @@ static ssize_t ccm_read(FAR struct file *filep, FAR char *buffer, size_t buflen) { FAR struct ccm_file_s *priv; - ssize_t ret = 0; size_t linesize; size_t copysize; size_t remaining;