From 0476d8168ad0d9f59364479a2a0452f9fd72910e Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 27 May 2015 13:32:39 -0600 Subject: [PATCH] More missing semicolons after DEBUGASSERT --- arch/arm/src/efm32/efm32_leserial.c | 2 +- arch/arm/src/kinetis/kinetis_serial.c | 2 +- arch/arm/src/kl/kl_serial.c | 2 +- arch/avr/src/at32uc3/at32uc3_serial.c | 2 +- arch/mips/src/pic32mx/pic32mx-serial.c | 2 +- arch/mips/src/pic32mz/pic32mz-irq.c | 2 +- arch/mips/src/pic32mz/pic32mz-serial.c | 2 +- drivers/mmcsd/mmcsd_sdio.c | 4 ++-- drivers/wireless/cc3000/cc3000drv.c | 2 +- mm/shm/shm_initialize.c | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/src/efm32/efm32_leserial.c b/arch/arm/src/efm32/efm32_leserial.c index 8284a6410b..d0e0e80cb8 100644 --- a/arch/arm/src/efm32/efm32_leserial.c +++ b/arch/arm/src/efm32/efm32_leserial.c @@ -568,7 +568,7 @@ static int efm32_ioctl(struct file *filep, int cmd, unsigned long arg) inode = filep->f_inode; dev = inode->i_private; - DEBUGASSERT(dev, dev->priv) + DEBUGASSERT(dev, dev->priv); priv = (struct efm32_leuart_s*)dev->priv; switch (cmd) diff --git a/arch/arm/src/kinetis/kinetis_serial.c b/arch/arm/src/kinetis/kinetis_serial.c index b674e9a4e2..6bbf899e70 100644 --- a/arch/arm/src/kinetis/kinetis_serial.c +++ b/arch/arm/src/kinetis/kinetis_serial.c @@ -977,7 +977,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg) inode = filep->f_inode; dev = inode->i_private; - DEBUGASSERT(dev, dev->priv) + DEBUGASSERT(dev, dev->priv); priv = (struct up_dev_s*)dev->priv; switch (cmd) diff --git a/arch/arm/src/kl/kl_serial.c b/arch/arm/src/kl/kl_serial.c index c66cde28f9..5311daecc0 100644 --- a/arch/arm/src/kl/kl_serial.c +++ b/arch/arm/src/kl/kl_serial.c @@ -624,7 +624,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg) inode = filep->f_inode; dev = inode->i_private; - DEBUGASSERT(dev, dev->priv) + DEBUGASSERT(dev, dev->priv); priv = (struct up_dev_s*)dev->priv; switch (cmd) diff --git a/arch/avr/src/at32uc3/at32uc3_serial.c b/arch/avr/src/at32uc3/at32uc3_serial.c index 06306a0e55..ad655a1ca8 100644 --- a/arch/avr/src/at32uc3/at32uc3_serial.c +++ b/arch/avr/src/at32uc3/at32uc3_serial.c @@ -532,7 +532,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg) inode = filep->f_inode; dev = inode->i_private; - DEBUGASSERT(dev, dev->priv) + DEBUGASSERT(dev, dev->priv); priv = (struct up_dev_s*)dev->priv; switch (cmd) diff --git a/arch/mips/src/pic32mx/pic32mx-serial.c b/arch/mips/src/pic32mx/pic32mx-serial.c index 4565c7622e..c24161ed8d 100644 --- a/arch/mips/src/pic32mx/pic32mx-serial.c +++ b/arch/mips/src/pic32mx/pic32mx-serial.c @@ -592,7 +592,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg) inode = filep->f_inode; dev = inode->i_private; - DEBUGASSERT(dev, dev->priv) + DEBUGASSERT(dev, dev->priv); priv = (struct up_dev_s*)dev->priv; switch (cmd) diff --git a/arch/mips/src/pic32mz/pic32mz-irq.c b/arch/mips/src/pic32mz/pic32mz-irq.c index ea489a238a..e0678d2642 100644 --- a/arch/mips/src/pic32mz/pic32mz-irq.c +++ b/arch/mips/src/pic32mz/pic32mz-irq.c @@ -276,7 +276,7 @@ void up_disable_irq(int irq) /* Disable the interrupt by clearing the associated bit in the IEC register */ - DEBUGASSERT((unsigned)irq < NR_IRQS) + DEBUGASSERT((unsigned)irq < NR_IRQS); regaddr = pic32mz_iecclr(irq); bitno = (unsigned)irq & 31; diff --git a/arch/mips/src/pic32mz/pic32mz-serial.c b/arch/mips/src/pic32mz/pic32mz-serial.c index 4377fdc376..98f95f393f 100644 --- a/arch/mips/src/pic32mz/pic32mz-serial.c +++ b/arch/mips/src/pic32mz/pic32mz-serial.c @@ -900,7 +900,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg) inode = filep->f_inode; dev = inode->i_private; - DEBUGASSERT(dev, dev->priv) + DEBUGASSERT(dev, dev->priv); priv = (struct up_dev_s*)dev->priv; switch (cmd) diff --git a/drivers/mmcsd/mmcsd_sdio.c b/drivers/mmcsd/mmcsd_sdio.c index 811c4ed334..2ff3fd717d 100644 --- a/drivers/mmcsd/mmcsd_sdio.c +++ b/drivers/mmcsd/mmcsd_sdio.c @@ -1559,7 +1559,7 @@ static ssize_t mmcsd_reload(FAR void *dev, FAR uint8_t *buffer, #endif ssize_t ret; - DEBUGASSERT(priv != NULL && buffer != NULL && nblocks > 0) + DEBUGASSERT(priv != NULL && buffer != NULL && nblocks > 0); #ifdef CONFIG_MMCSD_MULTIBLOCK_DISABLE /* Read each block using only the single block transfer method */ @@ -1937,7 +1937,7 @@ static ssize_t mmcsd_flush(FAR void *dev, FAR const uint8_t *buffer, #endif ssize_t ret; - DEBUGASSERT(priv != NULL && buffer != NULL && nblocks > 0) + DEBUGASSERT(priv != NULL && buffer != NULL && nblocks > 0); #ifdef CONFIG_MMCSD_MULTIBLOCK_DISABLE /* Write each block using only the single block transfer method */ diff --git a/drivers/wireless/cc3000/cc3000drv.c b/drivers/wireless/cc3000/cc3000drv.c index 0f94c42e90..712c2803eb 100644 --- a/drivers/wireless/cc3000/cc3000drv.c +++ b/drivers/wireless/cc3000/cc3000drv.c @@ -271,7 +271,7 @@ void cc3000_open(gcSpiHandleRx pfRxHandler) pthread_attr_setschedparam(&attr, ¶m); status = pthread_create(&spiconf.unsoliced_thread, &attr, unsoliced_thread_func, NULL); - DEBUGASSERT(status == 0) + DEBUGASSERT(status == 0); UNUSED(status); /* Wait unsoliced_thread to wake-up. */ diff --git a/mm/shm/shm_initialize.c b/mm/shm/shm_initialize.c index c2289103c7..b57d3e8f9a 100644 --- a/mm/shm/shm_initialize.c +++ b/mm/shm/shm_initialize.c @@ -164,7 +164,7 @@ int shm_group_initialize(FAR struct task_group_s *group) void shm_group_release(FAR struct task_group_s *group) { GRAN_HANDLE handle; - DEBUGASSERT(group) + DEBUGASSERT(group); handle = group->tg_shm.gs_handle; if (handle)