More missing semicolons after DEBUGASSERT
This commit is contained in:
parent
2ecff2a432
commit
0476d8168a
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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 */
|
||||
|
@ -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. */
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user